1. 程式人生 > >本地專案放到git上,clone下來後。npm run dev不成功。

本地專案放到git上,clone下來後。npm run dev不成功。

$ npm run dev

> [email protected]1.0.0 dev D:\1E\teacher\es\tagssys
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

 94% asset optimization ERROR  Failed to compile with 2 errors19:30:32          
These dependencies were not found:

* babel-runtime/core-js/json/stringify in
./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.2@vue-loader/lib/selector.js?type=script&index=0!./src/components/AddTag.vue * babel-runtime/core-js/promise in ./src/assets/js/axios_allocation.js To install them, you can run: npm install --save babel-runtime/core-js/json/stringify babel-runtime
/core-js/promise

使用 npm install 和npm install –save也無法成功