react-native
react-native copied to clipboard
Error during react-native init
I'm trying to setup the demo project, however when I run react-native init AwesomeProject it hangs for a while then fails. Running with --verbose gives this as last output:
npm info lifecycle [email protected]~install: [email protected]
> [email protected] install /Users/anahkiasen/Sites/anahkiasen/AwesomeProject/node_modules/fsevents
> node-pre-gyp install --fallback-to-build
`npm install --save react-native` failed
What I don't get is if I go into the folder an manually run npm install react-native --save it works fine.
$ node --version && npm --version
v4.1.2
3.3.7
As a temporary fix,
react-native init myProjectcd myProject && npm install react-native --savecd ..react-native init myProject
say yes to overwrite the project.
@tarun1793 Worked for me Same environment Linux - LMDE Betsy 2
@facebook-github-bot close
@browniefed tells me to close this issue. If you think it should still be opened let us know why.