Guest User

Particle install fail

a guest
Apr 24th, 2016
8
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo npm install -g particle-cli
  2. Password:
  3. /
  4. > serialport@2.1.1 preinstall /opt/local/lib/node_modules/particle-cli/node_modules/serialport
  5. > npm install node-pre-gyp node-pre-gyp-github
  6.  
  7. npm WARN optional dep failed, continuing ecc-jsbn@0.0.1
  8. npm WARN optional dep failed, continuing ecc-jsbn@0.0.1
  9. npm ERR! Darwin 14.5.0
  10. npm ERR! argv "/opt/local/bin/node" "/opt/local/bin/npm" "install" "node-pre-gyp" "node-pre-gyp-github"
  11. npm ERR! node v4.4.3
  12. npm ERR! npm  v2.15.2
  13. npm ERR! path ../lib/node_modules/node-pre-gyp-github/bin/node-pre-gyp-github.js
  14. npm ERR! code EACCES
  15. npm ERR! errno -13
  16. npm ERR! syscall symlink
  17.  
  18. npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/node-pre-gyp-github/bin/node-pre-gyp-github.js' -> '/opt/local/bin/node-pre-gyp-github'
  19. npm ERR!     at Error (native)
  20. npm ERR!  { [Error: EACCES: permission denied, symlink '../lib/node_modules/node-pre-gyp-github/bin/node-pre-gyp-github.js' -> '/opt/local/bin/node-pre-gyp-github']
  21. npm ERR!   errno: -13,
  22. npm ERR!   code: 'EACCES',
  23. npm ERR!   syscall: 'symlink',
  24. npm ERR!   path: '../lib/node_modules/node-pre-gyp-github/bin/node-pre-gyp-github.js',
  25. npm ERR!   dest: '/opt/local/bin/node-pre-gyp-github' }
  26. npm ERR!
  27. npm ERR! Please try running this command again as root/Administrator.
  28.  
  29. npm ERR! Please include the following file with any support request:
  30. npm ERR!     /opt/local/lib/node_modules/particle-cli/node_modules/serialport/npm-debug.log
  31. npm ERR! Darwin 14.5.0
  32. npm ERR! argv "/opt/local/bin/node" "/opt/local/bin/npm" "install" "-g" "particle-cli"
  33. npm ERR! node v4.4.3
  34. npm ERR! npm  v2.15.2
  35. npm ERR! code ELIFECYCLE
  36.  
  37. npm ERR! serialport@2.1.1 preinstall: `npm install node-pre-gyp node-pre-gyp-github`
  38. npm ERR! Exit status 243
  39. npm ERR!
  40. npm ERR! Failed at the serialport@2.1.1 preinstall script 'npm install node-pre-gyp node-pre-gyp-github'.
  41. npm ERR! This is most likely a problem with the serialport package,
  42. npm ERR! not with npm itself.
  43. npm ERR! Tell the author that this fails on your system:
  44. npm ERR!     npm install node-pre-gyp node-pre-gyp-github
  45. npm ERR! You can get information on how to open an issue for this project with:
  46. npm ERR!     npm bugs serialport
  47. npm ERR! Or if that isn't available, you can get their info via:
  48. npm ERR!
  49. npm ERR!     npm owner ls serialport
  50. npm ERR! There is likely additional logging output above.
  51.  
  52. npm ERR! Please include the following file with any support request:
  53. npm ERR!     /npm-debug.log
RAW Paste Data