Guest User

Untitled

a guest
Mar 7th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. react-native init Zero22Rc
  2. This will walk you through creating a new React Native project in /private/tmp/Zero22Rc
  3. Installing react-native package from npm...
  4.  
  5. > [email protected] postinstall /private/tmp/Zero22Rc/node_modules/react-native/node_modules/flow-bin/node_modules/bin-wrapper/node_modules/bin-check/node_modules/spawn-sync
  6. > node postinstall
  7.  
  8.  
  9. > [email protected] postinstall /private/tmp/Zero22Rc/node_modules/react-native/node_modules/flow-bin
  10. > node lib/install.js
  11.  
  12.  
  13. npm WARN peerDependencies The peer dependency react@^0.14.5 included from react-native will no
  14. npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
  15. npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
  16. module.js:339
  17. throw err;
  18. ^
  19.  
  20. Error: Cannot find module 'chalk'
  21. at Function.Module._resolveFilename (module.js:337:15)
  22. at Function.Module._load (module.js:287:25)
  23. at Module.require (module.js:366:17)
  24. at require (module.js:385:17)
  25. at Object.<anonymous> (/private/tmp/Zero22Rc/node_modules/react-native/node_modules/flow-bin/node_modules/logalot/node_modules/squeak/index.js:5:13)
  26. at Module._compile (module.js:435:26)
  27. at Object.Module._extensions..js (module.js:442:10)
  28. at Module.load (module.js:356:32)
  29. at Function.Module._load (module.js:311:12)
  30. at Module.require (module.js:366:17)
  31. npm ERR! Darwin 14.5.0
  32. npm ERR! argv "/Users/mkonicek/.nvm/versions/node/v4.2.1/bin/node" "/usr/local/bin/npm" "install" "--save" "react-native"
  33. npm ERR! node v4.2.1
  34. npm ERR! npm v2.7.1
  35. npm ERR! code ELIFECYCLE
  36.  
  37. npm ERR! [email protected] postinstall: `node lib/install.js`
  38. npm ERR! Exit status 1
  39. npm ERR!
  40. npm ERR! Failed at the [email protected] postinstall script 'node lib/install.js'.
  41. npm ERR! This is most likely a problem with the flow-bin package,
  42. npm ERR! not with npm itself.
  43. npm ERR! Tell the author that this fails on your system:
  44. npm ERR! node lib/install.js
  45. npm ERR! You can get their info via:
  46. npm ERR! npm owner ls flow-bin
  47. npm ERR! There is likely additional logging output above.
  48.  
  49. npm ERR! Please include the following file with any support request:
  50. npm ERR! /private/tmp/Zero22Rc/npm-debug.log
  51.  
  52. `npm install --save react-native` failed
Advertisement
Add Comment
Please, Sign In to add comment