微信版本8.0.16,进入体验版小程序遇到基础库加载问题

小程序 文章 2022-01-05 14:20 442 0 全屏看文

AI助手支持GPT4.0

微信版本8.0.16,进入体验版小程序遇到基础库加载问题Wechat version 8.0.16, entering the experience version of the mini program encountered a basic library loading problem

微信版本8.0.16,进入体验版小程序遇到基础库加载问题

Can't find variable: regeneratorRuntime 报错

iOS和安卓进入体验版小程序都有此问题。用8.0.15版微信进入无此问题。

小程序体验版采用的是CI上传,增强编译已开。

Can't find variable: the regeneratorruntime reports an error. Both IOS and Android entry experience applets have this problem. There is no such problem when entering wechat version 8.0.15. The applet experience version adopts CI upload, and the enhanced compilation has been started.

回答:

社区技术运营专员-Jahozheng:

工具需要开启编译选项【增强编译】(旧版)或者【将JS编译成ES5】

miniprogram-ci 上传代码需要开启编译选项【增强编译】

brave:

目前通过 CI 上传的需要开发者手动引入 runtime.js 进行适配,正式版暂不受影响,具体等官方公告通知。

猫爪:

嗯,我们也遇到了同样的问题。

-EOF-

AI助手支持GPT4.0