vue 运行 npm run dev 或者npm run serve 报core-js/modules/es6.array.find in ./node_modules/_cache-loader@2.0.1@cache-load,这是因为当前模块没有升级,或者下载掉包,
只要重新下载安装就可以了,执行

 npm install core-js@2    //更新版本

以下是报错部分内容

These dependencies were not found:

  • core-js/modules/es6.array.find in ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–12-0!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_vuetify-loader@1.4.3@vuetify-loader/lib/loader.js??ref–18-0!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/DemoPages/Vuetify/Components/treeview/directory.vue?vue&type=script&lang=js&, ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–12-0!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_vuetify-loader@1.4.3@vuetify-loader/lib/loader.js??ref–18-0!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/DemoPages/Vuetify/Components/treeview/hotspots.vue?vue&type=script&lang=js&
  • core-js/modules/es6.array.find-index in ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–12-0!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_vuetify-loader@1.4.3@vuetify-loader/lib/loader.js??ref–18-0!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/DemoPages/Vuetify/Components/data-tables/sort.vue?vue&type=script&lang=js&
  • core-js/modules/es6.array.from in ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–12-0!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_vuetify-loader@1.4.3@vuetify-loader/lib/loader.js??ref–18-0!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/DemoPages/Charts/Sparklines.vue?vue&type=script&lang=js&, ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–12-0!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_vuetify-loader@1.4.3@vuetify-loader/lib/loader.js??ref–18-0!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref–0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/DemoPages/Dashboards/Helpdesk.vue?vue&type=script&lang=js& and 3 others
GitHub 加速计划 / vu / vue
207.54 K
33.66 K
下载
vuejs/vue: 是一个用于构建用户界面的 JavaScript 框架,具有简洁的语法和丰富的组件库,可以用于开发单页面应用程序和多页面应用程序。
最近提交(Master分支:2 个月前 )
73486cb5 * chore: fix link broken Signed-off-by: snoppy <michaleli@foxmail.com> * Update packages/template-compiler/README.md [skip ci] --------- Signed-off-by: snoppy <michaleli@foxmail.com> Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com> 4 个月前
e428d891 Updated Browser Compatibility reference. The previous currently returns HTTP 404. 5 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐