I had a similar issue and I found a very good solution. I couldn't find any solution for this error. But on my other machine (both run Linux Ubuntu) I am facing the above error. I have the same project running on another machine, and there, the install works flawlessly. Npm ERR! A complete log of this run can be found in: There is likely additional logging output above. Npm ERR! This is probably not a problem with npm. Npm ERR! install: `(node install/libvips & node install/dll-copy & prebuild-install) || (node-gyp rebuild & node install/dll-copy)` Gyp ERR! cwd /home/server/node_modules/sharp ![]() Gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" Gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/server/node_modules/sharp/build' ![]() Info sharp Please see for required dependencies Info sharp Attempting to build from source via node-gyp but this may fail due to the above error ![]() Info sharp Using cached /home/ronny/.npm/_libvips/libvips-8.7.0-linux-圆4.tar.gzĮRR! sharp EACCES: permission denied, mkdir '/home/server/node_modules/sharp/vendor' > (node install/libvips & node install/dll-copy & prebuild-install) || (node-gyp rebuild & node install/dll-copy) When running sudo npm i sharp -save I get the following errors: > install /home/server/node_modules/sharp
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |