Advertisement
Guest User

npm install pm2 -g

a guest
May 25th, 2019
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.88 KB | None | 0 0
  1.  
  2. npm install pm2 -g
  3. ...
  4. npm WARN optional Skipping failed optional dependency /pm2/chokidar/fsevents:
  5. npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.9
  6. npm ERR! Linux 4.15.0-36-generic
  7. npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "pm2" "-g"
  8. npm ERR! node v8.10.0
  9. npm ERR! npm  v3.5.2
  10. npm ERR! path /usr/local/lib
  11. npm ERR! code EACCES
  12. npm ERR! errno -13
  13. npm ERR! syscall access
  14.  
  15. npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
  16. npm ERR!  { Error: EACCES: permission denied, access '/usr/local/lib'
  17. npm ERR!   errno: -13,
  18. npm ERR!   code: 'EACCES',
  19. npm ERR!   syscall: 'access',
  20. npm ERR!   path: '/usr/local/lib' }
  21. npm ERR!
  22. npm ERR! Please try running this command again as root/Administrator.
  23.  
  24. npm ERR! Please include the following file with any support request:
  25. npm ERR!     /home/developer/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement