Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于导入微信开发者工具后编译报错——app.js错误: TypeError: Cannot set property 'Promise' of undefined #47

Open
xueying5 opened this issue Feb 1, 2024 · 0 comments

Comments

@xueying5
Copy link

xueying5 commented Feb 1, 2024

按照readme操作后,用微信开发者工具导入dist目录,如果项目详情本地设置中将JS编译为ES5,会报错:
app.js错误: TypeError: Cannot set property 'Promise' of undefined at index.js? [sm]:14 at WASubContext.js?t=wechat&s=1706771605796&v=3.3.4:1 at d.runWith (WASubContext.js?t=wechat&s=1706771605796&v=3.3.4:1) at V (WASubContext.js?t=wechat&s=1706771605796&v=3.3.4:1) at r (WASubContext.js?t=wechat&s=1706771605796&v=3.3.4:1) at app.js? [sm]:4 at WASubContext.js?t=wechat&s=1706771605796&v=3.3.4:1 at d.runWith (WASubContext.js?t=wechat&s=1706771605796&v=3.3.4:1) at V (WASubContext.js?t=wechat&s=1706771605796&v=3.3.4:1) at VM589 appservice.js:7(env: Windows,mp,1.06.2401020; lib: 3.3.4)
企业微信截图_17067717604948
企业微信截图_17067717847667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant