nodejs gyp WARN EACCES user "root" does not have permission to access the dev dir

gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/countly/nodejs/lib/node_modules/time/.node-gyp/0.10.36"

gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/countly/nodejs/lib/node_modules/time/.node-gyp"

 

在命令行后面增加:

--unsafe-perm 

posted @ 2018-11-28 20:12  skyline9  阅读(3925)  评论(1编辑  收藏  举报