【Tips】Vue项目报错:This dependency was not found:* regenerator-runtime/runtime.js in ./node_modules/cache
Vue项目启动后保存,少了依赖安装一下就好了This dependency was not found:regenerator-runtime/runtime.js in ./node_modules/cache-loader/dist/cjs.js??ref–12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist
·
Vue项目启动后保存,少了依赖
安装一下就好了
This dependency was not found:
- regenerator-runtime/runtime.js in ./node_modules/cache-loader/dist/cjs.js??ref–12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref–0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/apps/todoList/index.vue?vue&type=script&lang=js&
To install it, you can run: npm install --save regenerator-runtime/runtime.js
如果按他的要求装
npm install --save regenerator-runtime/runtime.js
会报错
就直接装这个完整的就行了
npm install regenerator-runtime
更多推荐
已为社区贡献1条内容
所有评论(0)