Making an attempt to put in filebazaar on Ubuntu 18.04 and getting an error on the canvas
module… anybody aware of this challenge? I have been throughout node-canvas’s github points (resembling this one the place I left a remark), however not one of the options are working for me to date.
This is the command I am operating:
$ sudo npm set up -g filebazaar
And here is the error output:
$ sudo npm set up -g canvas@1.6.13
> canvas@1.6.13 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! canvas@1.6.13 set up: `node-gyp rebuild`
npm ERR! Exit standing 1
npm ERR!
npm ERR! Failed on the canvas@1.6.13 set up script.
npm ERR! That is most likely not an issue with npm. There's doubtless 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 🙂