Question:
After the new code is pulled, NPM install reports an error. The error information is as follows:
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/work/buildqx/vue-admin-template/node_modules/node-sass/.node-gyp'
Error report screenshot:
resolvent:
npm install --unsafe-perm
After execution, you can download and install related dependencies normally
Read More:
- NPM install error | gyp err! Configure error
- gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildPr
- npm install Error: gyp verb `which` failed Error: not found: python
- NPM installs dependent packages and reports an error node gyp rebuild… Solution
- NPM run serve reported an error “NPM err! Missing script: start”
- Gyp err! Build error stack error
- NPM ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- npm ERR! Error: CERT_ Untrusted problem solving
- yarn install gyp verb `which` failed python2 Error: not found: python2
- NPM err! Code enotfound (2020-07-03)
- The solution of NPM err! Code elifecycle
- “NPM err! Error: eperm: operation not permitted” problem solving
- Error “NPM err” when starting Vue project! code ELIFECYCLE”
- Using NPM to install Remix error in Windows 10
- Solution of NPM err! Code elifecycle
- Command failed: NPM install — loglevel error — registry= https://registry.npm.taobao.org
- Solve NPM err! code 128
- npm ERR Error: EPERM:operation not permitted, rename
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’ npm ERR! at Error (native)
- When NPM install, make: G + +: command not found will be prompted