在进行项目的配置过程中,正常使用npm install配置。
* core-js/modules/es.array.push.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/components/edit-table/index.vue?vue&type=script&lang=js&, ./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/components/theme-picker/index.vue?vue&type=script&lang=js& and 5 others
* core-js/modules/es.error.cause.js in ./src/plugins/globalFormValid.js, ./src/utils/validateForm.js and 2 others
* core-js/modules/es.json.stringify.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/components/config-form/index.vue?vue&type=script&lang=js&, ./src/router/index.js and 2 others
* core-js/modules/es.regexp.dot-all.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/components/theme-picker/index.vue?vue&type=script&lang=js&, ./src/router/index.js
* core-js/modules/es.regexp.sticky.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/components/theme-picker/index.vue?vue&type=script&lang=js&, ./src/router/index.js
* core-js/modules/es.regexp.test.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/components/icon-svg/index.vue?vue&type=script&lang=js&, ./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/components/theme-picker/index.vue?vue&type=script&lang=js& and 3 others
To install them, you can run: npm install --save core-js/modules/es.array.push.js core-js/modules/es.error.cause.js core-js/modules/es.json.stringify.js core-js/modules/es.regexp.dot-all.js core-js/modules/es.regexp.sticky.js core-js/modules/es.regexp.test.js
安装完成后启动报错,缺少core-js文件内容,查阅很多经验后,重新安装core-js无用,从正常启动项目人员手里copy一份core-js代码后仍然无法解决。
解决办法:本人是电脑中的webpack与项目冲突,global的webpack进行删除后,项目正常启动。