-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Couldn't find a package.json ... when install react-scripts #1058
Comments
Same issue here. |
Please retest with |
@busches Same error
version is really 0.16.0 |
Solved! |
This might help someone else who stumbles across this page - I had this error when my directory/package.json didn't have the right file permissions |
@joe4mg, what permissions does the package.json need? |
I was also finding this issue. Was running version
And that fixed it. package.json resolution works in sub-folders again. |
yarn cache clean didn't solve my problem (couldn't find package,json file). But running it as administrator (-@windows) did. |
My case was that I was not in the right folder when I run |
In my case, I just went to a wrong directory - the parent directory of my react project. |
|
this was the fix, it worked for me, thanks a lot man, really helped me a lot |
just ran into this issue also. make sure your in the same directory as your package.json. |
Muito bom !!! |
For me, I wan in the wrong folder, cd to the right project and |
Thank you, it did work for me. |
|
When you create a new project with "yarn create ..." you aren't in the correct folder, so cd (name of project) then yarn start :) |
Not sure why I received this email?
Sent from Yahoo Mail for iPhone
On Monday, August 3, 2020, 9:50 AM, Gustavo Mori <notifications@github.com> wrote:
When you create a new project with "yarn create ..." you aren't in the correct folder, so cd (name of project) then yarn start :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Obrigada por compartilhar essa informação, resolveu meu problema! |
this solved my problem, simple, thks |
tks a lot! |
error Couldn't find a package.json (or bower.json) file in /Users/schovi/tmp/xxx/node_modules/react-scripts/node_modules/autoprefixer
System:
OSx Sierra
Node 6.8.0
Yarn 0.15.1 (installed via homebrew)
PS: when installing with npm, everything is fine.
The text was updated successfully, but these errors were encountered: