gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/zhang/Documents/data_insight_yinzhou/data_insight_yinzhou/node_modules/node-sass/build'
gyp ERR! System Darwin 17.6.0
gyp ERR! command "/usr/local/bin/node" "/Users/zhang/Documents/data_insight_yinzhou/data_insight_yinzhou/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/zhang/Documents/data_insight_yinzhou/data_insight_yinzhou/node_modules/node-sass
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
no such file or directory, scandir '/usr/local/www/blogls/node_modules/images/vendor'
查看資料發(fā)現(xiàn),可能需要增加--unsafe-perm霉祸,即
sudo npm install --unsafe-perm
結(jié)果成功了
作者:roselle_c
來源:CSDN
原文:https://blog.csdn.net/u010963686/article/details/80675240
版權(quán)聲明:本文為博主原創(chuàng)文章属百,轉(zhuǎn)載請附上博文鏈接!