npm ERR! Linux 4.1.19-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "webpack" "-SD"
npm ERR! node v5.9.0
npm ERR! npm  v3.8.3
npm ERR! path ../esprima/bin/esvalidate.js
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! syscall symlink

npm ERR! EPROTO: protocol error, symlink '../esprima/bin/esvalidate.js' -> '/var/www/node_modules/.bin/esvalidate'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /var/www/npm-debug.log

解决方案:

npm i webpack -g –no-bin-links

–no-bin-links tells npm to not create any symbolic links. There isn’t a way (to my knowledge) of translating symlinks to a Windows share.

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐