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
Can not npm test
on Windows, node version 12.13.0 (LTS)
#1513
Comments
This is likely due to being run on windows. The project is developed primarily on Mac. Some extra steps are required on Windows: https://github.com/benmosher/eslint-plugin-import/blob/master/appveyor.yml |
npm test
on node version 12.13.0 (LTS)npm test
on Windows, node version 12.13.0 (LTS)
I see. I'll run these two Perhaps a note should be added to CONTRIBUTING.md for onboarding contributors? |
That’d be great. If you can find a way to fix the local scripts as well so they work on windows without breaking elsewhere, that’d be even better. |
Do you mean the ones in package.json? |
I've run Looking closely at it:
I think it is trying to find "C:\Users\soryy\Documents\Software Engineering\Personal\eslint-plugin-import\resolvers\node" instead. |
AppVeyer fails with the same error: https://ci.appveyor.com/project/benmosher/eslint-plugin-import/builds/28422763/job/ogufn8y81v906k0q |
Facing the same issue on Azure DevOps build pipeline.
|
Appveyor is passing now, thanks to #1648. I’m going to close this; but will be happy to reopen it if any windows users confirm that latest master still has this problem. |
I forked this repository. After cloning, I ran
npm install
.I tried running
npm test
, but got an error. Full output:npm cache log:
The text was updated successfully, but these errors were encountered: