摘要: gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/ganiks/.node-gyp/8.15.0" node-pre-gyp WARN Pre-built binaries not installable for bcrypt@3.0.3 and node@8.15.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp) 阅读全文
posted @ 2019-01-18 22:16 ganiks 阅读(1792) 评论(0) 推荐(0) 编辑
摘要: 这个错误以前遇到过,关键词 symlink permission,意思是没有创建超链接的权限; 我今天这种环境经常遇到这种问题(Windows宿主机器+Vagrant Ubuntu Host机器) 给 npm install 添加参数 --no-bin-links 简言之,所有不支持软链接的磁盘系统都需要用到这个 --no-bin-links 阅读全文
posted @ 2019-01-18 21:02 ganiks 阅读(1975) 评论(0) 推荐(0) 编辑
摘要: root权限全局安装 npm install -g 仍有权限问题,认识参数 --unsafe-perm gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.15.0" gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/bcrypt/.node-gyp' 阅读全文
posted @ 2019-01-18 20:45 ganiks 阅读(18177) 评论(1) 推荐(1) 编辑
摘要: 写这篇文章之前,关于ubuntu14.04(Trusty)默认安装的NodeJS版本是0.10.25百思不解(什么鬼,哪一年的NodeJS) 写这篇文章之时,NodeJS的LTS版本号都已经10.15.0,当然Ubuntu在2018年也都发行ubuntu18.04(我还没打算用) 系统我可以用4年前的,但是node不行 于是每次都要倒腾Node新版本的安装,踩过一些坑 但是本着刨根问底的原则,还是收获不小 阅读全文
posted @ 2019-01-18 18:45 ganiks 阅读(6330) 评论(0) 推荐(1) 编辑