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

Stuck with create-react-native-app now, something wrong with yarn or npm

Open 129emma opened this issue 8 years ago • 6 comments

Description

Suddenly got this issue when I was trying to create a new RN project. I tried many ways still cannot solve it. Thanks

xxx$ create-react-native-app shopping-cart
Creating a new React Native app in /Users/xxx/ReactNative/shopping-cart.

Using package manager as yarnpkg with yarn interface.
Installing packages. This might take a couple minutes.
Installing react-native-scripts...

yarn add v1.6.0
info No lockfile found.
[1/4] 🔍  Resolving packages...
info There appears to be trouble with your network connection. Retrying...

Environment

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

  • macOS: 10.13.4
  • node -v: 8.11.2
  • npm -v: 5.6.0
  • yarn --version: 1.6.0
  • watchman version: 4.9.0

129emma avatar May 22 '18 08:05 129emma

Facing the exact same issue on Ubuntu 16.04LTS right now.

YSGoh avatar May 22 '18 08:05 YSGoh

Same issue with same config (+npm -v: 6.0.1)

FlorianTousch avatar May 22 '18 08:05 FlorianTousch

Same issue here:

windows 10

  • node-v : v8.11.2

  • npm -v : 5.6.0

  • yarn --version : v1.6.0

jayrexacilo avatar May 22 '18 08:05 jayrexacilo

I think something wrong with npm now, looks they are solving it right now https://status.npmjs.org/incidents/b307lbjrdql7

129emma avatar May 22 '18 08:05 129emma

I updated react-native (sudo npm i -g react-native) and run again, work now.

FlorianTousch avatar May 22 '18 08:05 FlorianTousch

looks like a npm bug indeed. probably fixed now

brentvatne avatar May 23 '18 23:05 brentvatne