-
-
Notifications
You must be signed in to change notification settings - Fork 27k
npm test fails for default skeleton project #6092
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
Comments
Hi @makareth, this is a strange issue. Can you confirm how you installed this project? I'd also recommend not having a globally installed |
@mrmckeb Yes, I confirm I installed the project in a brand new directory with create-react-app.
The very same output is yield :
|
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Is this a bug report?
Yes, this is a bug regarding the default skeleton testing capability not working.
This seems to differ from github issues #4787 and #5210.
Did you try recovering your dependencies?
Yes, removed :
*
node_modules
*
package-lock.json
* (there was no yarn file, I'm using npm only)
Then :
This installed npm v6.5.0.
But
npm test
yield same result than before.npm --version
6.5.0
Which terms did you search for in User Guide?
npm test
test
package.json
Environment
Steps to Reproduce
Expected Behavior
The expected result would be to have all tests succeeding. Here, looks like the tests can't be executed because the package.json file in ~/kkk/my-react-app is not found.
Actual Behavior
The result is :
The text was updated successfully, but these errors were encountered: