Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Considering PhantomJS found at /bin/phantomjs
- Looks like an `npm install -g`
- Error checking path, continuing { Error: Cannot find module '/usr/lib/node_modules/phantomjs/lib/location'
- at Function.Module._resolveFilename (module.js:548:15)
- at Function.Module._load (module.js:475:25)
- at Module.require (module.js:597:17)
- at require (internal/module.js:11:18)
- at getLocationInLibModuleIfMatching (/usr/lib/node_modules/phantomjs/install.js:332:19)
- at Promise._successFn (/usr/lib/node_modules/phantomjs/install.js:389:28)
- at nextTickCallback (/usr/lib/node_modules/phantomjs/node_modules/kew/kew.js:47:28)
- at _combinedTickCallback (internal/process/next_tick.js:132:7)
- at process._tickCallback (internal/process/next_tick.js:181:9) code: 'MODULE_NOT_FOUND' }
- /usr/lib/node_modules/phantomjs/phantomjs is not writable: EACCES: permission denied, mkdir '/usr/lib/node_modules/phantomjs/phantomjs'
- Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
- Verified checksum of previously downloaded file
- Extracting tar contents (via spawned process)
- Removing /usr/lib/node_modules/phantomjs/lib/phantom
- 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
- Phantom installation failed { Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/phantomjs/lib/phantom'
- errno: -13,
- code: 'EACCES',
- syscall: 'mkdir',
- path: '/usr/lib/node_modules/phantomjs/lib/phantom' } Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/phantomjs/lib/phantom'
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! phantomjs@2.1.7 install: `node install.js`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the phantomjs@2.1.7 install script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /root/.npm/_logs/2018-11-13T22_03_51_641Z-debug.log
- [bkearney@fivehole bastion_katello]$ vi /root/.npm/_logs/2018-11-13T22_03_51_641Z-debug.log
- [bkearney@fivehole bastion_katello]$ sudo vi /root/.npm/_logs/2018-11-13T22_03_51_641Z-debug.log
- [bkearney@fivehole bastion_katello]$ which npm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement