NPM run watch-poll 编译执行到 95%报 i/o 错误,错误信息如下
vagrant@homestead:~/Code/l_bbs$ npm run watch-poll
> @ watch-poll /home/vagrant/Code/l_bbs
> npm run watch -- --watch-poll
> @ watch /home/vagrant/Code/l_bbs
> npm run development -- --watch "--watch-poll"
> @ development /home/vagrant/Code/l_bbs
> node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch" "--watch-poll"
10% building 1/1 modules 0 active
webpack is watching the files…
95% emitting unnamed compat pluginError: EIO: i/o error, close
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js "--watch" "--watch-poll"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-09-25T04_22_53_018Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ watch: `npm run development -- --watch "--watch-poll"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ watch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-09-25T04_22_53_038Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ watch-poll: `npm run watch -- --watch-poll`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ watch-poll script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2019-09-25T04_22_53_058Z-debug.log
之前是提示这个,
Running: npm install vue-template-compiler --save-dev --production=false
我用yarn安装vue-template-compiler这个依赖后解决了问题,但是安装这个图标依赖之后,我用同样的方法结果出现了以上问题,没有找到原因,求解答。
更新:此处虽然报错,但是刷新页面后发现,可以编译成功,但是报错导致无法监听。
上面的错了,我又重来了一遍,哪个是安装这个图标的上一步,到这里之后还是这个错误。我是真的没办法了,求大佬帮帮我
你看看是不是