
node
强哥叨逼叨
微信公众号:强哥叨逼叨
展开
-
EACCES: permission denied,mkdir … npm install 安装依赖问题解决
强哥最近在用hugeGraph图库做二次开发的时候,在打包的时遇到前端项目打包失败的问题: > cwebp-bin@4.0.0 postinstall /home/hugegraph/my-hugegraph-studio/studio-ui/node_modules/cwebp-bin> node lib/install.js⚠ EACCES: permission denied, mkdir '/home/hugegraph/my-hugegraph-studio/studio-ui/n原创 2020-07-31 11:49:27 · 3691 阅读 · 0 评论 -
解决升级 npm 5 后出现的莫名其妙的 bug 的一些尝试
本文转发自:https://zhuanlan.zhihu.com/p/27311867 1、由于 npm 5 使用了新的包管理模式,所以在升级之后,请先清空一下本地缓存:npm cache clean --force 。 2、如果上边没办法解决问题,可以尝试下边的指令:npm cache clear --force && npm install --no-shrinkwrap --update转载 2017-10-30 17:09:09 · 1783 阅读 · 0 评论