nuxtjs項目安裝依賴報錯


報錯內容1:

* core-js/modules/es6.regexp.to-string in ./.nuxt/utils.js, ./.nuxt/components/nuxt.js friendly-errors 14:12:47
* core-js/modules/es7.promise.finally in ./.nuxt/client.js friendly-errors 14:12:47
* core-js/modules/es7.symbol.async-iterator in ./.nuxt/client.js, ./.nuxt/components/nuxt-link.client.js

錯誤原因:core-js版本不對

解決方法:npm i core-js@2.6.5

原鏈接:https://stackoverflow.com/questions/54492385/nuxt-js-in-docker-missing-dependencies

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM