deviceframe icon indicating copy to clipboard operation
deviceframe copied to clipboard

Installation issue

Open theapache64 opened this issue 6 years ago • 0 comments

sudo npm install -g deviceframe
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this package is now deprecated
/usr/bin/deviceframe -> /usr/lib/node_modules/deviceframe/cli.js
/usr/bin/dframe -> /usr/lib/node_modules/deviceframe/cli.js

> [email protected] install /usr/lib/node_modules/deviceframe/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
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/deviceframe/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1587160819519/phantomjs-2.1.1-linux-x86_64 -> /usr/lib/node_modules/deviceframe/node_modules/phantomjs-prebuilt/lib/phantom
Phantom installation failed [Error: EACCES: permission denied, link '/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1587160819519/phantomjs-2.1.1-linux-x86_64' -> '/usr/lib/node_modules/deviceframe/node_modules/phantomjs-prebuilt/lib/phantom'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'link',
  path: '/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1587160819519/phantomjs-2.1.1-linux-x86_64',
  dest: '/usr/lib/node_modules/deviceframe/node_modules/phantomjs-prebuilt/lib/phantom'
} Error: EACCES: permission denied, link '/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1587160819519/phantomjs-2.1.1-linux-x86_64' -> '/usr/lib/node_modules/deviceframe/node_modules/phantomjs-prebuilt/lib/phantom'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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!     /home/theapache64/.npm/_logs/2020-04-17T22_00_21_801Z-debug.log

NOTE: I am using Ubuntu 16.04

theapache64 avatar Apr 17 '20 22:04 theapache64