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

The default npm test script does not work on windows #19

Open
cjhoward92 opened this issue Jun 19, 2017 · 0 comments
Open

The default npm test script does not work on windows #19

cjhoward92 opened this issue Jun 19, 2017 · 0 comments

Comments

@cjhoward92
Copy link
Contributor

cjhoward92 commented Jun 19, 2017

The syntax for the npm test script is invalid on windows, and therefore cannot run. There needs to be a different means of referencing the jasmine-node package in

"test": "npm run eslint && npm run compile && node_modules/.bin/jasmine-node build/spec/tests"

since windows is not smart enough to look for the exe or script via the relative path. You will get an error that reads

'node_modules' is not recognized as an internal or external command

Wrapping the command in double quotes fixes the issue on windows.

"node_modules/.bin/jasmine-node" build/spec/tests

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

No branches or pull requests

1 participant