[ad_1]
Attempting to put in filebazaar on Ubuntu 18.04 and getting an error on the canvas
module… anybody aware of this situation? I have been throughout node-canvas’s github points (akin to this one the place I left a remark), however not one of the options are working for me up to now.
Here is the command I am operating:
$ sudo npm set up -g filebazaar
And here is the error output:
$ sudo npm set up -g [email protected]
> [email protected] set up /usr/native/lib/node_modules/canvas
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/native/lib/node_modules/canvas/construct'
gyp ERR! System Linux 4.15.0-55-generic
gyp ERR! command "/usr/native/bin/node" "/usr/native/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/native/lib/node_modules/canvas
gyp ERR! node -v v12.5.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okay
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] set up: `node-gyp rebuild`
npm ERR! Exit standing 1
npm ERR!
npm ERR! Failed on the [email protected] set up script.
npm ERR! That is in all probability not an issue with npm. There's seemingly further logging output above.
npm ERR! An entire log of this run will be present in:
npm ERR! /dwelling/chris/.npm/_logs/2019-09-17T20_39_13_514Z-debug.log
Any help is appreciated 🙂
[ad_2]
Supply hyperlink
Leave a Reply