美文网首页
no such file or directory, scand

no such file or directory, scand

作者: 萤火虫de梦 | 来源:发表于2019-07-06 01:28 被阅读0次

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'

查看资料发现,可能需要增加--unsafe-perm,即

sudo npm install --unsafe-perm

结果成功了

作者:roselle_c
来源:CSDN
原文:https://blog.csdn.net/u010963686/article/details/80675240
版权声明:本文为博主原创文章,转载请附上博文链接!

相关文章

网友评论

      本文标题:no such file or directory, scand

      本文链接:https://www.haomeiwen.com/subject/fyruhctx.html