You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per issue #2889 I'm having the same problem. The solutions in issue 2889 discuss removing the watchman path variable. Where is the path located?
If I install to the same directory where I initially installed watchman I always get the no tests found error but if I specify a new directory npm test works.
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
The search terms returned the 2889 issue but the solution is not clear.
Environment
Does not work I get below output:
`Please specify the project directory:
create-react-app
For example:
create-react-app my-react-app
Run create-react-app --help to see all options.`
Steps to Reproduce
Install to project directory using npx create-react-app
CD into project
Install watchman
Run npm test and receive no tests found error
CD up 1 directory
rm -rf project
Install to project directory again using npx create-react-app
CD into project and do not install watchman
Run npm test - still no tests found
Expected Behavior
If watchman is interfering with a npx create-react-app then why after I delete the project does the problem persist if I create in the same directory again? I would expect that if watchman is the issue that a fresh create-react-app should be able to run tests. If the watchman var must be removed then where is this path located?
Actual Behavior
No tests will run if watchman has ever been installed to that folder before.
Reproducible Demo
See "Steps to Reproduce"
The text was updated successfully, but these errors were encountered:
Is this a bug report?
Yes
As per issue #2889 I'm having the same problem. The solutions in issue 2889 discuss removing the watchman path variable. Where is the path located?
If I install to the same directory where I initially installed watchman I always get the no tests found error but if I specify a new directory
npm test
works.Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
The search terms returned the 2889 issue but the solution is not clear.
Environment
Does not work I get below output:
`Please specify the project directory:
create-react-app
For example:
create-react-app my-react-app
Run create-react-app --help to see all options.`
Steps to Reproduce
npx create-react-app
npx create-react-app
Expected Behavior
If watchman is interfering with a npx create-react-app then why after I delete the project does the problem persist if I create in the same directory again? I would expect that if watchman is the issue that a fresh create-react-app should be able to run tests. If the watchman var must be removed then where is this path located?
Actual Behavior
No tests will run if watchman has ever been installed to that folder before.
Reproducible Demo
See "Steps to Reproduce"
The text was updated successfully, but these errors were encountered: