当前位置:网站首页>NPM install reports an error: gyp err! configure error

NPM install reports an error: gyp err! configure error

2022-06-25 07:45:00 Big.

problem :

( stay Xshell The project that operates the test version on )  After new pull code ,npm install Report errors , The error information is as follows :


   
    
  1. gyp ERR! configure error
  2. gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/work/buildqx/vue-admin-template/node_modules/node-sass/.node-gyp'

  Screenshot of error reporting :

 

resolvent :

npm install --unsafe-perm
   
    

 

After the execution , You can download and install dependencies normally :

原网站

版权声明
本文为[Big.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206250539589838.html