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

Scripts in package.json throw errors on Windows systems #487

Closed
jmoore914 opened this issue Dec 24, 2019 · 0 comments · Fixed by #500
Closed

Scripts in package.json throw errors on Windows systems #487

jmoore914 opened this issue Dec 24, 2019 · 0 comments · Fixed by #500

Comments

@jmoore914
Copy link
Contributor

Windows is unable to interpret ./ at the start of the lint and integration scripts and throws this error:

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! eslint-plugin-unicorn@15.0.0 lint: `./test/lint/lint.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the eslint-plugin-unicorn@15.0.0 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Replacing the './' with 'node ' would fix this issue on Windows systems.

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.

1 participant