首页 > 其他 > 详细

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

时间:2019-06-02 15:14:25      阅读:1389      评论:0      收藏:0      [点我收藏+]

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。

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

原文:https://www.cnblogs.com/zengsf/p/10962669.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!