2***@qq.com
2***@qq.com
  • 发布:2022-09-26 13:55
  • 更新:2022-09-29 18:41
  • 阅读:348

编译起来一堆错误,真的蛋疼

分类:uni-app

编译器版本:3.6.4(vue3)
vite v2.9.14
每次出现下面错误,都要停止运行,再启动,相当于整个重新编译一次。

出现下面问题的是是随机的,调试过程中,不知道怎么就出现了,一开始好好的,修改几处,差量编译,马上就出现错误,只有重启,整个重新编译,问题又消失了, 看见他就头疼!!!!!!!!!!

13:47:43.279 ▲ [WARNING] Import "_" will always be undefined because the file "xxxxxxx/unpackage/dist/dev/.nvue/plugin-vueexport-helper.js" has no exports
13:47:43.279 xxxxxx/unpackage/dist/dev/.nvue/pages/list/list.js:2:9:
13:47:43.287 2 │ import {
as _export_sfc } from "../../plugin-vue_export-helper.js";

reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot set property '$appStyle' of undefined
at eval (<anonymous>:1:29)
at (pages/index/index.js.nvue:97:1)
at webpack_require (pages/index/index.js.nvue:21:30)
at eval (<anonymous>:2:71)
at (pages/index/index.js.nvue:319:1)
at
webpack_require
(pages/index/index.js.nvue:21:30)
at (pages/index/index.js.nvue:85:18)
at (pages/index/index.js.nvue:88:10)

2022-09-26 13:55 负责人:无 分享
已邀请:
35自学编程

35自学编程 - 能成否

我也遇到这样的问题,搞得头大,项目刚开始.我都不知道要不要继续下去

要回复问题请先登录注册