1. 程式人生 > >ERROR in ./src/index.js Module not found: Error: Can't resolve 'babel-runtime/helpers/classCallCheck

ERROR in ./src/index.js Module not found: Error: Can't resolve 'babel-runtime/helpers/classCallCheck

ERROR in ./src/index.js
Module not found: Error: Can't resolve 'babel-runtime/helpers/classCallCheck' in 'D:\vue-project\vue-4.x-study\src'
 @ ./src/index.js 3:23-70
 @ multi (webpack)-dev-server/client?http://localhost:8888 (webpack)/hot/dev-server.js ./src/index.js

在使用babel處理Js檔案的時候遇到這個錯誤,後來重新安裝了

babel-runtime就解決了。。。神奇的Vue