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

unable to create project , error as below! please help 。 #1553

Closed
hpze2000 opened this issue Jun 8, 2015 · 4 comments
Closed

unable to create project , error as below! please help 。 #1553

hpze2000 opened this issue Jun 8, 2015 · 4 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@hpze2000
Copy link

hpze2000 commented Jun 8, 2015

$ react-native init AwesomeProject
This will walk you through creating a new React Native project in /Users/johnson/AwesomeProject
npm WARN engine stacktrace-parser@0.1.1: wanted: {"node":"~0.10"} (current: {"node":"0.12.4","npm":"2.10.1"})

ws@0.4.31 install /Users/johnson/AwesomeProject/node_modules/react-native/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

@revskill10
Copy link

Please upgrade Nodejs and npm to use the latest React Native.

@hpze2000
Copy link
Author

hpze2000 commented Jun 8, 2015

@checkraiser TKS! bug error below again:

:~ johnson$ react-native init AwesomeProject
This will walk you through creating a new React Native project in /Users/johnson/AwesomeProject
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save" "react-native"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1

npm ERR! shasum check failed for /var/folders/fj/4nbp1d9x5b341std7mz5wpt80000gn/T/npm-3042-a56948e4/registry.npmjs.org/react-native/-/react-native-0.5.0.tgz
npm ERR! Expected: 287a1036d0c4de8861217e989cb46e8ea872fb11
npm ERR! Actual: c89c9d8255c8ec34a25732e2665bd70e894b292a
npm ERR! From: https://registry.npmjs.org/react-native/-/react-native-0.5.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /Users/johnson/AwesomeProject/npm-debug.log
npm install --save react-native failed

@paramaggarwal
Copy link
Contributor

It's probably just a download error, hence failure of checksum. Try deleting that cached file and try again.

@brentvatne
Copy link
Collaborator

There hasn't been any followup in a few days, @hpze2000 ping us if you're still having the issue, thanks! 😄

@facebook facebook locked as resolved and limited conversation to collaborators Jun 11, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants