Uncaught runtime errors:在IDEA中运行vue项目时出现该错误

  IDEA中输入npm run serve ,出现该错误

Uncaught runtime errors:

ERROR
Cannot read properties of undefined (reading 'prototype') TypeError: Cannot read properties of undefined (reading 'prototype') at eval (webpack-internal:///./node_modules/element-ui/lib/utils/types.js:41:115) at ./node_modules/element-ui/lib/utils/types.js (http://localhost:8080/js/chunk-vendors.js:900:1) at __webpack_require__ (http://localhost:8080/js/app.js:348:33) at fn (http://localhost:8080/js/app.js:621:21) at eval (webpack-internal:///./node_modules/element-ui/lib/utils/util.js:18:14) at ./node_modules/element-ui/lib/utils/util.js (http://localhost:8080/js/chunk-vendors.js:911:1) at __webpack_require__ (http://localhost:8080/js/app.js:348:33) at fn (http://localhost:8080/js/app.js:621:21) at eval (webpack-internal:///./node_modules/element-ui/lib/locale/format.js:43:13) at ./node_modules/element-ui/lib/locale/format.js (http://localhost:8080/js/chunk-vendors.js:556:1)

 

这个报错显示的是element-ui没有正确加载

 
posted @ 2024-01-05 11:00  雨崩  阅读(946)  评论(0编辑  收藏  举报