ERROR Failed to compile with 3 errors
These dependencies were not found:
* core-js/modules/es.object.to-string.js in ./src/router/index.js
* core-js/modules/es.string.iterator.js in ./src/router/index.js
* core-js/modules/web.dom-collections.iterator.js in ./src/router/index.js
To install them, you can run: npm install --save core-js/modules/es.object.to-string.js core-js/modules/es.string.iterator.js core-js/modules/web.dom-collections.iterator.js
错误是这个!
这个意思是在router找不到core-js,所以需要重新安装一下
npm install --save core-js
随后重启服务文章来源:https://www.toymoban.com/news/detail-738749.html
yarn serve 或npm run serve文章来源地址https://www.toymoban.com/news/detail-738749.html
到了这里,关于These dependencies were not found:core-js/modules/es.object.to-string.js in ./src/router/index.js的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!