项目打不开运行错误怎么解决
Asus@DESKTOP-LGNFMQ9 MINGW64 /f/Vue/zhang $ npm run dev > zhang@1.0.0 dev F:\Vue\zhang > webpack-dev-server --inline --progress --config build/webpack.dev.conf.js internal/modules/cjs/loader.js:582 throw err; ^ Error: Cannot find module 'array-includes' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module._load (internal/modules/cjs/loader.js:506:25) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.(F:\Vue\zhang\node_modules\_webpack-dev-server@2.11.3@webpack-dev-server\lib\polyfills.js:6:18) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! zhang@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the zhang@1.0.0 dev 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! C:\Users\Asus\AppData\Roaming\npm-cache\_logs\2019-03-03T03_11_15_000Z-debug.log Asus@DESKTOP-LGNFMQ9 MINGW64 /f/Vue/zhang
正在回答 回答被采纳积分+1
又出现这种错误
我用的submlit text编辑器
- 参与学习 人
- 提交作业 209 份
- 解答问题 3299 个
本路径是通过ES6基础知识、运用Zepto、Swiper、fullPag等移动端常用工具包、以及当下流行框架Vue,结合多个实战案例,还原真实开发场景,最终实现手机端购物商城网页开发。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星