-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
npm test error on Windows: module <...> in the "setupFiles" option was not found #1645
Comments
Have the same issue... |
cc @Timer |
We really need to set up AppVeyor. |
I temporarily tagged 0.9.0 as latest so that at least This would still be a problem for anyone who uses caret semver for |
Can you verify whether applying this diff to - relativePath => path.posix.resolve(__dirname.replace(/[\\]+/g, path.posix.sep), '..', relativePath),
+ relativePath => path.resolve(__dirname, '..', relativePath), |
Can confirm 0.9.0 was working correctly, after updating to 0.9.1 got this error @gaearon Suggested fix didn't work, still getting the same error. I'm on Windows 10 |
Hmm, this seems like a different error, potentially due to npm bug (notice how a node module is missing). Could you delete |
Going to trust that #1647 works. |
@gaearon Yep, that did it, works now 👍 |
Windows 8.1- fix with |
OK, fix should be out in 0.9.2. Note to @Timer: I couldn't figure out how to make Lerna compare packages correctly in a branch (it said all packages updated) so I just published from folder. |
There is a bug that happens with 0.9.1 (not 0.9.0).
Tested in on windows and Mac. on Mac everything seems to be ok. The attached error only happens when running on windows.
For now, i downgraded to 0.9.0 where all seems to be ok.
I've also tried to create a new app with create-react-app, When I run the test script, I get the same result.
Hope that can be fixed.
The text was updated successfully, but these errors were encountered: