码迷,mamicode.com
首页 > Web开发 > 详细

vue.js 进行初始化遇到的关于core-js的错误@core-js/modules/es6.array.find-index (ERROR Failed to compile with 164 errors These dependencies were not found)

时间:2020-06-16 18:35:15      阅读:448      评论:0      收藏:0      [点我收藏+]

标签:rom   -o   img   scroll   pil   func   not found   图片   error   

E:\SourceCode\VUE\vue-element-admin-master>cnpm run dev

> vue-element-admin@4.3.0 dev E:\SourceCode\VUE\vue-element-admin-master
> vue-cli-service serve

 INFO  Starting development server...
 10% building 2/2 modules 0 activei ?wds?: Project is running at http://localhost:9527/
i ?wds?: webpack output is served from /
i ?wds?: Content not from webpack is served from E:\SourceCode\VUE\vue-element-admin-master\public
i ?wds?: 404s will fallback to /index.html                                             98% after emitting CopyPlugin

 ERROR  Failed to compile with 164 errors                                                                     5:31:41 PM
These dependencies were not found:

* 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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/layout/components/TagsView/ScrollPane.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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/views/table/complex-table.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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/components/DndList/index.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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/components/HeaderSearch/index.vue?vue&type=script&lang=js& and 5 others
* core-js/modules/es6.array.sort 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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/views/table/complex-table.vue?vue&type=script&lang=js&
* core-js/modules/es6.function.name 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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/components/Breadcrumb/index.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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/components/DndList/index.vue?vue&type=script&lang=js& and 10 others
* core-js/modules/es6.number.constructor 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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/components/BackToTop/index.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/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.2@vue-loader/lib??vue-loader-options!./src/components/Dropzone/index.vue?vue&type=script&lang=js& and 9 others
* core-js/modules/es6.object.keys in ./src/permission.js, ./src/main.js and 16 others

 

技术图片

 

 

core-js版本太高

安装了淘宝镜像就可以

cnpm install core-js@2

技术图片

 

vue.js 进行初始化遇到的关于core-js的错误@core-js/modules/es6.array.find-index (ERROR Failed to compile with 164 errors These dependencies were not found)

标签:rom   -o   img   scroll   pil   func   not found   图片   error   

原文地址:https://www.cnblogs.com/gougou1981/p/13143373.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!