Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test command giving error #3

Open
jintoppy opened this issue Oct 20, 2015 · 4 comments · May be fixed by #4
Open

test command giving error #3

jintoppy opened this issue Oct 20, 2015 · 4 comments · May be fixed by #4

Comments

@jintoppy
Copy link

when I run "npm run test" I get the following error

'jsx)'' is not recognized as an internal or external command, operable program or batch file.

I changed extensions to js and removed the quotes from the glob pattern and it is working. But, not sure, if this is with problem with node version or OS.

mocha --compilers js:babel-core/register --require ./test/test_helper.js test/**/*.js

Node version is 4.2.1
OS is Windows 7 Professional

@timkrins
Copy link

I have a feeling that it is due to the single quotes rather than double quotes. Will do more research.

timkrins added a commit to timkrins/redux-voting-client that referenced this issue Oct 20, 2015
@timkrins timkrins linked a pull request Oct 20, 2015 that will close this issue
@montogeek
Copy link

Try using js:babel-register

@davidfekke
Copy link
Contributor

I am having the this same problem too on Windows 7. I will give it a try on my Mac as well.

@timkrins
Copy link

...it's because of the single quotes where there should be double quotes. See my pull request referenced above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants