Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. Considering PhantomJS found at /bin/phantomjs
  2. Looks like an `npm install -g`
  3. Error checking path, continuing { Error: Cannot find module '/usr/lib/node_modules/phantomjs/lib/location'
  4. at Function.Module._resolveFilename (module.js:548:15)
  5. at Function.Module._load (module.js:475:25)
  6. at Module.require (module.js:597:17)
  7. at require (internal/module.js:11:18)
  8. at getLocationInLibModuleIfMatching (/usr/lib/node_modules/phantomjs/install.js:332:19)
  9. at Promise._successFn (/usr/lib/node_modules/phantomjs/install.js:389:28)
  10. at nextTickCallback (/usr/lib/node_modules/phantomjs/node_modules/kew/kew.js:47:28)
  11. at _combinedTickCallback (internal/process/next_tick.js:132:7)
  12. at process._tickCallback (internal/process/next_tick.js:181:9) code: 'MODULE_NOT_FOUND' }
  13. /usr/lib/node_modules/phantomjs/phantomjs is not writable: EACCES: permission denied, mkdir '/usr/lib/node_modules/phantomjs/phantomjs'
  14. Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
  15. Verified checksum of previously downloaded file
  16. Extracting tar contents (via spawned process)
  17. Removing /usr/lib/node_modules/phantomjs/lib/phantom
  18. Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1542146628864/phantomjs-2.1.1-linux-x86_64 -> /usr/lib/node_modules/phantomjs/lib/phantom
  19. Phantom installation failed { Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/phantomjs/lib/phantom'
  20. errno: -13,
  21. code: 'EACCES',
  22. syscall: 'mkdir',
  23. path: '/usr/lib/node_modules/phantomjs/lib/phantom' } Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/phantomjs/lib/phantom'
  24. npm ERR! code ELIFECYCLE
  25. npm ERR! errno 1
  26. npm ERR! phantomjs@2.1.7 install: `node install.js`
  27. npm ERR! Exit status 1
  28. npm ERR!
  29. npm ERR! Failed at the phantomjs@2.1.7 install script.
  30. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  31.  
  32. npm ERR! A complete log of this run can be found in:
  33. npm ERR! /root/.npm/_logs/2018-11-13T22_03_51_641Z-debug.log
  34. [bkearney@fivehole bastion_katello]$ vi /root/.npm/_logs/2018-11-13T22_03_51_641Z-debug.log
  35. [bkearney@fivehole bastion_katello]$ sudo vi /root/.npm/_logs/2018-11-13T22_03_51_641Z-debug.log
  36. [bkearney@fivehole bastion_katello]$ which npm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement