与nodejs的react-native init错误

时间:2016-01-06 04:51:38

标签: node.js react-native

当我在nodejs

中使用命令react-native init hello时出现此错误
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn npm ENOENT
    at exports._errnoException (util.js:855:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:455:9)
    at process._tickCallback (node.js:369:17)

0 个答案:

没有答案