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.

npm start fail for node 8.0.0 and npm 5.0.1 fresh install

See original GitHub issue

First of all great work.

Description

npm start fails to start packager after a fresh install. See image below.

screenshot from 2017-06-01 15 38 23

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: 0.0.30
  • npm ls react-native: 0.44.0
  • npm ls expo: 17.0.0
  • node -v: 8.0.0
  • npm -v: 5.0.1
  • yarn --version: –
  • watchman version: –
  1. Operating system: ElementoryOS Loki

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:14
  • Comments:33 (9 by maintainers)

github_iconTop GitHub Comments

47reactions
brentvatnecommented, Jun 18, 2017

@aswerdlow935 - npm i -g npm@4.6.1 - then install create-react-native-app again and create a project as per readme intructions

37reactions
sgb-iocommented, Nov 29, 2017

Hey maintainers & contributors, great work.

A few months have passed and since the end of October, Node.js 8.x has entered LTS and all users installing node via the website (a vast majority I would assume) are installing this version. This ships with npm 5.

Any new users wanting to get started with (or contribute? support in some way?) create-react-native-app now hit a pretty awful barrier - create-react-native-app doesn’t work with new node.js installations 😦

As of writing, nodejs 8.9.1 LTS is shipping with npm 5.5.1 (at least on macOS). I haven’t researched it very deeply, but are the relevant npm bugs still a no-go for create-react-native-app? It would be great to get an update on this even if it’s still a problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'npm start' returns error: "There might be a problem with the ...
In my case, I solved my problem in this way. create a .env at the root of the folder react folder; type SKIP_PREFLIGHT_CHECK=true...
Read more >
How to fix 'npm does not support Node.js v14' error on ...
My first attempt was updating over the top of my existing node.js installation. I then tried uninstalling node.js installation (Windows Add/ ...
Read more >
Common errors | npm Docs
You are trying to install on a drive that either has no space, or has no permission to write. Free some disk space...
Read more >
node-sass - npm
Latest version: 8.0.0, last published: 2 months ago. Start using node-sass in your project by running `npm i node-sass`.
Read more >
standard-version - npm
replacement for `npm version` with automatic CHANGELOG generation. Latest version: 9.5.0, last published: 7 months ago. Start using ...
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