Skip to content

react-native init <ProjectName> hangs on windows #7681

@gitlovenotwar

Description

@gitlovenotwar

Followed all installation instructions from docs https://facebook.github.io/react-native/docs/getting-started.html#content

platform: windows
version: 7
node: v6.2.0
npm: 3.9.2
react-native-cli: 0.2.0

Error:

This will walk you through creating a new Rea
ct Native project in D:\xampp\htdocs\staging\
tutorials\AwesomeProject
Installing react-native package from npm...
events.js:160
      throw er; // Unhandled 'error' event ^

Error: spawn npm ENOENT at exports._errnoException (util.js:953:11)
    at Process.ChildProcess._handle.onexit (i
nternal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:3
48:16)
    at _combinedTickCallback (internal/proces
s/next_tick.js:74:11)
    at process._tickCallback (internal/proces
s/next_tick.js:98:9)
    at Function.Module.runMain (module.js:577
:11)
    at startup (node.js:160:18)
    at node.js:449:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions