Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' and Module not found: Error: Can't resolve '@babel/runtime/helpers/defineProperty'


These two mistakes are really just one mistake, This is because the following file @babel/runtime cannot be found。

 

I am getting this error:

ERROR in ./src/main.js                                                                           
Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' in 'C:\Users\ASUS\Desktop\vue\webpack-study2\src'                                                               @./src/main.js 1:0-68 13:2-17
                                                                                              
ERROR in ./src/main.js                                                                           
Module not found: Error: Can't resolve '@babel/runtime/helpers/defineProperty' in 'C:\Users\ASUS\Desktop\vue\webpack-study2\src'                                                              @@ ./src/main.js 2:0-68 17:0-15

 

So what we're trying to figure out is why can't we find those two files, because we did not install @babel/runtime。


免責聲明!

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



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