Skip to content
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

Cannot find require-from-string@^1.1.0 issue #3701

Closed
husainaloos opened this issue Jan 6, 2018 · 20 comments
Closed

Cannot find require-from-string@^1.1.0 issue #3701

husainaloos opened this issue Jan 6, 2018 · 20 comments

Comments

@husainaloos
Copy link

Is 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

  1. node -v: 8.9.1
  2. npm -v: 4.6.1
  3. yarn --version (if you use Yarn):
  4. npm ls react-scripts (if you haven’t ejected):

Then, specify:

  1. Operating system: windows 10
  2. Browser and version (if relevant):

Steps to Reproduce

(Write your steps here:)

  1. npm install -g create-react-app
  2. 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.)

@fusionfox
Copy link

fusionfox commented Jan 6, 2018

Also getting this, seems to be related to floatdrop/require-from-string#14 and npm/npm#19534

@ksathyareddy7
Copy link

i'm facing the same issue. What's wrong? and my setup is similar to @husainaloos

@emersonsoares
Copy link

Same here.

@fusionfox
Copy link

Updates here:
https://status.npmjs.org/incidents/41zfb8qpvrdj

@rickybasse
Copy link

Same.

3 similar comments
@Sefton419
Copy link

Same.

@ahm-ai
Copy link

ahm-ai commented Jan 6, 2018

Same.

@Bigg-Iron
Copy link

Same.

@jarretmoses
Copy link

jarretmoses commented Jan 6, 2018

Apparently the author of this package has unpublished or removed themselves / been removed from npm. Referenced from floatdrop/pinkie-promise#4. Waiting to find out more.

@trc5019
Copy link

trc5019 commented Jan 6, 2018

Same.

@Narutuffy
Copy link

Narutuffy commented Jan 6, 2018

Same. I believe that a package named pinkie-promise's registry is down beacuse of which cra isn't working

@webmobiles
Copy link

same problem..

@KevinGrandon
Copy link

Updates from npm: https://status.npmjs.org/incidents/41zfb8qpvrdj

@habibi07
Copy link

habibi07 commented Jan 6, 2018

Same.

1 similar comment
@wesharper
Copy link

Same.

@notrab
Copy link

notrab commented Jan 6, 2018

For those wondering, this is not a CRA issue.

More information can be found here about this.

@Timer
Copy link
Contributor

Timer commented Jan 6, 2018

Npm has resolved this. Please try again.

@Timer Timer closed this as completed Jan 6, 2018
@franszo
Copy link

franszo commented Jan 8, 2018

still having the same issue today

@jyoteeprakash123
Copy link

yeah still having the same issue today.
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

could anyone help me on this issue or let me know what was done to fix it.

@Timer
Copy link
Contributor

Timer commented Jan 8, 2018

Please file an issue with npm if you are experiencing this -- there is nothing we can do to help -- sorry!

@facebook facebook locked as resolved and limited conversation to collaborators Jan 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests