n0x073 / CR-dl

A Crunchyroll downloader
The Unlicense
16 stars 0 forks source link

node-pre-gyp WARN Hit error EACCES: permission denied #3

Closed xgrons closed 3 years ago

xgrons commented 3 years ago

node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/tools/node/lib/node_modules/@n0x073/cr-dl/node_modules/node-libcurl/lib/binding' gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.11.3" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tools/node/lib/node_modules/@n0x073/cr-dl/node_modules/node-libcurl/.node-gyp" gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/tools/node/lib/node_modules/@n0x073/cr-dl/node_modules/node-lib

n0x073 commented 3 years ago

Which os do you use?

Tizioincognit0 commented 3 years ago

I had the same issue on macOS 10.14.6 Mojave but I fixed it with this command: sudo npm install -g @n0x073/cr-dl --unsafe-perm=true.

xgrons commented 3 years ago

Which os do you use?

Ubuntu

xgrons commented 3 years ago

I had the same issue on macOS 10.14.6 Mojave but I fixed it with this command: sudo npm install -g @n0x073/cr-dl --unsafe-perm=true.

Thanks i will try

n0x073 commented 3 years ago

The unsafe-perm arg worked? Would you prefer a docker image?

xgrons commented 3 years ago

Thanks it worked when i updated node