homestead安装vue-cli的问题汇总
npm install npm install -g webpack 之后再执行npm run dev报错如下
1.npm ERR! addLocal Could not install /home/vagrant/code/fronthollyerp/–no-bin-links
执行npm i --by=npm --no-bin-links
2.再次执行npm run dev
报错 sh: 1: webpack-dev-server: not found
安装webpack-dev-server
npm install webpack-dev-server -g
再次执行可以运行了,
注:所有命令都在root权限下执行