Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. npm WARN locking Error: EACCES: permission denied, open '/tmp/.npm/_locks/staging-f212e8d64a01707f.lock'
  2. npm WARN locking at Error (native)
  3. npm WARN locking /tmp/.npm/_locks/staging-f212e8d64a01707f.lock failed { Error: EACCES: permission denied, open '/tmp/.npm/_locks/staging-f212e8d64a01707f.lock'
  4. npm WARN locking at Error (native)
  5. npm WARN locking errno: -13,
  6. npm WARN locking code: 'EACCES',
  7. npm WARN locking syscall: 'open',
  8. npm WARN locking path: '/tmp/.npm/_locks/staging-f212e8d64a01707f.lock' }
  9. npm WARN deploy-dist No description
  10. npm WARN deploy-dist No repository field.
  11. npm WARN deploy-dist No license field.
  12. npm ERR! Linux 4.4.35-33.55.amzn1.x86_64
  13. npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v6.9.1-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v6.9.1-linux-x64/bin/npm" "install"
  14. npm ERR! node v6.9.1
  15. npm ERR! npm v3.10.8
  16. npm ERR! path /tmp/.npm/_locks/staging-f212e8d64a01707f.lock
  17. npm ERR! code EACCES
  18. npm ERR! errno -13
  19. npm ERR! syscall open
  20.  
  21. npm ERR! Error: EACCES: permission denied, open '/tmp/.npm/_locks/staging-f212e8d64a01707f.lock'
  22. npm ERR! at Error (native)
  23. npm ERR! { Error: EACCES: permission denied, open '/tmp/.npm/_locks/staging-f212e8d64a01707f.lock'
  24. npm ERR! at Error (native)
  25. npm ERR! errno: -13,
  26. npm ERR! code: 'EACCES',
  27. npm ERR! syscall: 'open',
  28. npm ERR! path: '/tmp/.npm/_locks/staging-f212e8d64a01707f.lock' }
  29. npm ERR!
  30. npm ERR! Please try running this command again as root/Administrator.
  31.  
  32. npm ERR! Please include the following file with any support request:
  33. npm ERR! /var/app/current/deploy-dist/npm-debug.log
  34.  
  35. {
  36. "dependencies": {
  37. "node-fetch": "^1.3.3"
  38. }
  39. }
  40.  
  41. drwxr-xr-x 114 root root 4.0K Dec 27 17:04 .npm
  42.  
  43. files:
  44. "/opt/elasticbeanstalk/hooks/appdeploy/post/99_fix_node_permissions.sh":
  45. mode: "000755"
  46. owner: root
  47. group: root
  48. content: |
  49. #!/usr/bin/env bash
  50. chown -R nodejs:nodejs /tmp/.npm/_locks/
  51.  
  52. #!/usr/bin/env bash
  53. chown -R nodejs:nodejs /tmp/.npm/_locks/
  54.  
  55. chown -R nodejs:nodejs /tmp/.npm/
  56.  
  57. npm cache clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement