本地项目放到git上,clone下来后。npm run dev不成功。

$ npm run dev

> tagssys@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也无法成功

你可能感兴趣的:(npm)