create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Cannot convert undefined or null to object while using npm install react-scripts

Open gurpreetsingh2410 opened this issue 8 years ago • 2 comments

Is this a bug report?

yes (write your answer here)

Can you also reproduce the problem with npm 4.x?

(Write your answer here.)

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

  1. node -v: 8.9.4
  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: ubuntu 16.04
  2. Browser and version (if relevant):

Steps to Reproduce

(Write your steps here:)

  1. Open ubuntu terminal
  2. Run npm-init and follow the steps
  3. Run npm install react-scripts in the project

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Please add screenshots!) npm ERR! Cannot convert undefined or null to object

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-01-06T20_48_49_206Z-debug.log

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

gurpreetsingh2410 avatar Jan 06 '18 20:01 gurpreetsingh2410

Try again. Npm had some issues today.

Timer avatar Jan 06 '18 21:01 Timer

Working Fine, Thanks!

gurpreetsingh2410 avatar Jan 08 '18 04:01 gurpreetsingh2410