No content provided
See original GitHub issueSituation
Hi, guys!
Just tried to init new app using this command npx create-react-app my-app
.
Everything is done well, but look at this:
Few weeks ago everything goes right. Install --> cd to-my-app --> yarn/npm start --> woohoo.
Now I can’t do anything. I see this message command not found
with this project files:
Question
What’s going on? Am I missing something, or this is a bug?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
What to do when - java.io.FileNotFoundException: No content ...
io.FileNotFoundException: No content provider logcat output. If anyone could tell me what I am doing wrong or what I should do instead, that...
Read more >204 No Content - HTTP - MDN Web Docs - Mozilla
The HTTP 204 No Content success status response code indicates that a request has succeeded, but that the client doesn't need to navigate ......
Read more >Photo Widget- No content available | Apple Developer Forums
Hi i have “Featured” but my photos widget still says “no content available “. I just upgraded to a 12 pro max from...
Read more >[Solved] java.io.FileNotFoundException: No content provider
Hi All, Back with another problem. I have an App that takes a Screen Shot and the user saves to SD Card. This...
Read more >No content provider: /storage/emulated/0/DCIM/Camera ...
I say this is a better way because you do not know if the image comes from a content:// scheme or a file://...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dreamchasersuon I was able to replicate the issue It was happening for me as I had an older version of create-react-app installed globally. Uninstalling the global package might solve the issue:
npm uninstall -g create-react-app
orrm -rf /usr/local/bin/create-react-app
@dreamchasersuon This is possibly because you have a global installation of CRA that conflicts with npx.
Try
npm uninstall -g create-react-app
and then do a
npx create-react-app my-app
Also, the yarn error is because package.json is missing the start section in scripts. See below for an example: