question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No content provided

See original GitHub issue

Situation

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: Снимок экрана 2020-03-12 в 21 48 31

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: Снимок экрана 2020-03-12 в 21 50 49

Question

What’s going on? Am I missing something, or this is a bug?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
ayushinigamcommented, Mar 13, 2020

@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 or rm -rf /usr/local/bin/create-react-app

1reaction
w3bdesigncommented, Mar 12, 2020

@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:

"scripts": {
  "start": "some command to be run", // you need to add this line
  "test": "(eslint lib || true) && jest"
}
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found