在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/iOS  Linux  HTML/ mac下npm安裝包報(bào)錯(cuò)誤

mac下npm安裝包報(bào)錯(cuò)誤

npm install --save vue-chat-scroll

報(bào)錯(cuò)誤
錯(cuò)誤如下:

Macintosh:hwp-front yanghongwei$ npm install --save vue-chat-scroll
npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! path /Users/yanghongwei/Documents/code/hwp-front/node_modules/.bin/webpack-dev-server
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/yanghongwei/Documents/code/hwp-front/node_modules/.bin/webpack-dev-server: #!/bin/sh
npm ERR! basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
npm ERR!
npm ERR! case `uname` in
npm ERR!     *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
npm ERR! esac
npm ERR!
npm ERR! if [ -x "$basedir/node" ]; then
npm ERR!   "$basedir/node"  "$basedir/../webpack-dev-server/bin/webpack-dev-server.js" "$@"
npm ERR!   ret=$?
npm ERR! else
npm ERR!   node  "$basedir/../webpack-dev-server/bin/webpack-dev-server.js" "$@"
npm ERR!   ret=$?
npm ERR! fi
npm ERR! exit $ret
npm ERR!  symlink target is not controlled by npm /Users/yanghongwei/Documents/code/hwp-front/node_modules/webpack-dev-server
npm ERR! File exists: /Users/yanghongwei/Documents/code/hwp-front/node_modules/.bin/webpack-dev-server
npm ERR! Move it away, and try again.

之前修改過全局安裝權(quán)限問題
要怎么解決這個(gè)問題

回答
編輯回答
悶油瓶

安裝一下ajv試試
其實(shí)你可以刪了包重新安裝一遍試試

2018年1月2日 02:49