Cannot find require-from-string@^1.1.0 issue
See original GitHub issueIs this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
I have tried npm 4.6.1 with the same issue.
Which terms did you search for in User Guide?
Environment
node -v
: 8.9.1npm -v
: 4.6.1yarn --version
(if you use Yarn):npm ls react-scripts
(if you haven’t ejected):
Then, specify:
- Operating system: windows 10
- Browser and version (if relevant):
Steps to Reproduce
(Write your steps here:)
npm install -g create-react-app
create-react-app react-app
Expected Behavior
It will create a folder.
Actual Behavior
It will throw the following error:
Creating a new React app in C:\Users\somepath\react-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: require-from-string@^1.1.0
npm ERR! notarget Valid install targets:
npm ERR! notarget 2.0.2
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'cosmiconfig'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\me\AppData\Roaming\npm-cache\_logs\2018-01-06T19_33_16_386Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... package.json
Deleting react-app / from C:\somepath
Done.
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:15
- Comments:20 (2 by maintainers)
Top Results From Across the Web
No matching version found for require-from-string@^1.1.0
ng serve causes problem now Versions of @angular/compiler-cli and typescript could not be determined. The most common reason for this is a ...
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 Free
Top 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
still having the same issue today
Updates here: https://status.npmjs.org/incidents/41zfb8qpvrdj