Closed jangrewe closed 7 years ago
Try not running as root I think node-gyp has some safty checks or something built in so that it dose not like building as root
~i will try to handle this situation in a nicer way but meanwhile~ the best solution is the hint of @zachaller
npm parameter --unsafe-perm
may fix this issue (see a working example installing with root at https://github.com/ctubio/tribeca/blob/master/dist/Dockerfile#L14), but i would not recommend to use root user (in the same way that Docker installation is also not the recommended one).
While using npm run latest
, npm does not uses --unsafe-perm
and is not planned to be used.
Thanks, i'm running it as a user now.
Since a day or two, i keep getting this error when updating via
npm run latest
: