node js 安装.node-gyp/8.9.4 权限 无法访问
WARN EACCES user "root" does not have permission to access the dev dir "/root/.jenkins/workspace/cas-psma-code/node_modules/node-sass/.node-gyp/8.9.4"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.jenkins/workspace/cas-psma-code/node_modules/node-sass/.node-gyp"
解决方法:npm install time -g --unsafe-perm
posted on 2018-05-15 17:41 xunianchong 阅读(321) 评论(0) 编辑 收藏 举报