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

react-native init project failed

Open XiaNaLee opened this issue 11 years ago • 3 comments

this is log:

npm ERR! git clone --template=/Users/lee/.npm/_git-remotes/_templates --mirror git://github.com/facebook/react.git /Users/lee/.npm/_git-remotes/git-github-com-facebook-react-git-b4e74e38e43ac53af8acd62c78c9213be0194245-c92d21d2e268ee43029cdd9b3cd02392: fatal: read error: Operation timed out
npm ERR! git clone --template=/Users/lee/.npm/_git-remotes/_templates --mirror git://github.com/facebook/react.git /Users/lee/.npm/_git-remotes/git-github-com-facebook-react-git-b4e74e38e43ac53af8acd62c78c9213be0194245-c92d21d2e268ee43029cdd9b3cd02392: fatal: early EOF
npm ERR! git clone --template=/Users/lee/.npm/_git-remotes/_templates --mirror git://github.com/facebook/react.git /Users/lee/.npm/_git-remotes/git-github-com-facebook-react-git-b4e74e38e43ac53af8acd62c78c9213be0194245-c92d21d2e268ee43029cdd9b3cd02392: fatal: index-pack failed
npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/lee/.nvm/versions/node/v5.0.0/bin/node" "/Users/lee/.nvm/versions/node/v5.0.0/bin/npm" "install" "--save" "react-native"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
npm ERR! code 128

npm ERR! Command failed: git clone --template=/Users/lee/.npm/_git-remotes/_templates --mirror git://github.com/facebook/react.git /Users/lee/.npm/_git-remotes/git-github-com-facebook-react-git-b4e74e38e43ac53af8acd62c78c9213be0194245-c92d21d2e268ee43029cdd9b3cd02392
npm ERR! Cloning into bare repository '/Users/lee/.npm/_git-remotes/git-github-com-facebook-react-git-b4e74e38e43ac53af8acd62c78c9213be0194245-c92d21d2e268ee43029cdd9b3cd02392'...
npm ERR! fatal: read error: Operation timed out
npm ERR! fatal: early EOF
npm ERR! fatal: index-pack failed
npm ERR! 
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!     /develop/react-native/AwesomeProject/npm-debug.log
npm install --save react-native failed 

XiaNaLee avatar Nov 05 '15 15:11 XiaNaLee

@DukeLee1989 Try running brew update && brew upgrade and make sure you've installed Node 4.0 or newer.

christopherdro avatar Nov 09 '15 17:11 christopherdro

@facebook-github-bot no-reply

browniefed avatar Mar 20 '16 16:03 browniefed

Closing this issue as more information is needed to debug this and we haven't heard back from the author. Once there's more information we can reopen the issue.

facebook-github-bot avatar Mar 20 '16 16:03 facebook-github-bot