docker 安装 webpack 时报错 EPROTO: protocol error, symlink
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
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 年前
更多推荐
已为社区贡献2条内容
所有评论(0)