1***@qq.com
1***@qq.com
  • 发布:2026-04-08 18:20
  • 更新:2026-04-21 16:50
  • 阅读:342

运行到模拟到小程序去执行微信小程序遇到的问题

分类:HBuilderX

failed to load config from E:\lfy_work\front_work\h5\h5-vue3\vite.config.ts
18:14:35.895 error during build:
18:14:35.895 Error: Invalid or incompatible cached data (cachedDataRejected)
18:14:35.895 at Module._extensions.<computed> [as .jsc] (E:\liufeiyang-2024\HBuilderX\plugins\uni_helpers\lib\bytenode\lib\index.js:270:11)
18:14:35.895 at Module.load (node:internal/modules/cjs/loader:1208:32)
18:14:35.895 at Module._load (node:internal/modules/cjs/loader:1024:12)
18:14:35.895 at Module.require (node:internal/modules/cjs/loader:1233:19)
18:14:35.895 at require (node:internal/modules/helpers:179:18)
18:14:35.895 at Object.<anonymous> (E:\liufeiyang-2024\HBuilderX\plugins\uni_helpers\dist\index.js:1:109)
18:14:35.895 at Module._compile (node:internal/modules/cjs/loader:1358:14)
18:14:35.895 at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
18:14:35.895 at Module.load (node:internal/modules/cjs/loader:1208:32)
18:14:35.896 at Module._load (node:internal/modules/cjs/loader:1024:12)
18:14:35.896 at Module.require (node:internal/modules/cjs/loader:1233:19)
18:14:35.896 at require (node:internal/modules/helpers:179:18)
18:14:35.896 at requireUniHelpers (E:\lfy_work\front_work\h5\h5-vue3\node_modules.pnpm\@dcloudio+uni-cli-shared@3._db7f4290aa3c96e85e19f94ee6398a8e\node_modules\@dcloudio\uni-cli-shared\dist\utils.js:185:12)
18:14:35.896 at exports.default (E:\lfy_work\front_work\h5\h5-vue3\node_modules.pnpm\@dcloudio+uni-mp-vite@3.0.0_50a7fa1b40aa42e9a7278e3c3f9b77ae\node_modules\@dcloudio\uni-mp-vite\dist\index.js:59:65)
18:14:35.897 at Object.<anonymous> (E:\lfy_work\front_work\h5\h5-vue3\node_modules.pnpm\@dcloudio+uni-mp-weixin@3.0_6aa0bc2599b0436ba1fcc4a80abee960\node_modules\@dcloudio\uni-mp-weixin\dist\uni.compiler.js:284:83)
18:14:35.897 at Module._compile (node:internal/modules/cjs/loader:1358:14)
18:14:35.923 已停止运行...

2026-04-08 18:20 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com (作者)

真没招了

Ask小助手

Ask小助手

抱歉,我在知识库中没有找到关于 "Invalid or incompatible cached data (cachedDataRejected)" 错误的相关信息。

该错误通常与 HBuilderX 内部 bytenode 字节码缓存数据损坏或不兼容有关,但知识库中暂无针对此问题的具体解决方案或修复步骤。

内容为 AI 生成,仅供参考
1***@qq.com

1***@qq.com (作者)

我的项目在hbuliderX里面是项目类型识别成功:UniApp_Vue 但是当我去执行到微信模拟的时候,就一直是这个错误

星星之火SF

星星之火SF

+1
同样遇到

5.04.2026031906-alpha
(ARM)

  • DCloud_UNI_JBB

    看我上面发的帖子,有什么不懂的可以 im 中私聊我

    2026-04-13 10:22

l***@live.cn

l***@live.cn

这么久了还没修复,唯一的教训就是不要升级到新版本,hbuilder新版本全是坑

  • DCloud_UNI_JBB

    下个alpha就会修复,临时解决方案可以看我上面的回复

    2026-04-16 08:24

zss96

zss96 - 全栈开发

我也遇到了,通过命令行运行是没有问题的

a***@qq.com

a***@qq.com

终于等到新版发布,然而并没有修复这个问题!

5.07.2026041610-alpha
(ARM)

  • DCloud_UNI_JBB

    下个alpha会修复,还没有发布呢

    2026-04-21 17:34

  • DCloud_UNI_JBB

    带有此修复的版本发布之后,我会在这里回复

    2026-04-21 17:49

要回复问题请先登录注册