Gottwik / Enduro

Minimalistic, lean & mean, node.js cms
http://www.endurojs.com/
MIT License
690 stars 120 forks source link

installation errors using - sudo npm install enduro -g #320

Open witcradg opened 5 years ago

witcradg commented 5 years ago
> ttf2woff2@2.0.3 install /usr/local/lib/node_modules/enduro/node_modules/ttf2woff2
> (node-gyp rebuild > builderror.log) || (exit 0)

sh: 1: cannot create builderror.log: Permission denied

There may be a closed issue on this but I'm not sure it's the same. The enduro directory does not exist at this point in /user/local/lib/node_modules/

Ubuntu 18.10 npm -v 6.7.0 node -v v11.12.0

witcradg commented 5 years ago

I poked around and discovered the CLOSED issue Install failure on Debian #152. I was able to install by adding the --unsafe-perm flag. IMHO this is likely caused by increasingly secure OS restrictions being baked into newer versions of Linux. This is not likely to go away and some solution should be provided so brand new users don't try it by following the global install instructions and end up frustrated :-) (I don't know how or I'd do it.)

Thank you for this terrific looking tool. I can't wait to dig in.