-
Notifications
You must be signed in to change notification settings - Fork 378
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
[Bug report]TypeError: Function(...) is not a function #479
Comments
facebook/regenerator#381 |
https://github.com/didi/mpx/releases/tag/v2.5.31 |
更新到babel7, "@mpxjs/api-proxy": "^2.7.44", 也更新到 2.7.44 当前问题还是存在 {
"@babel/core": "^7.10.4",
"@babel/eslint-parser": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/plugin-transform-typescript": "^7.16.1",
"@babel/preset-env": "^7.10.4",
"@babel/runtime-corejs3": "^7.10.4",
} |
需更新至 @mpxjs/[email protected] 版本 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
跨平台构建小程序, 使用async/await, 微信编译功能正常, 支付宝报错
2. 期望的表现
支付宝正常使用async/await
3. 实际的表现
TypeError: Function(...) is not a function
Windows环境
"@mpxjs/api-proxy": "^2.5.10",
"@mpxjs/core": "^2.5.11",
"@mpxjs/fetch": "^2.3.9",
"@mpxjs/webpack-plugin": "^2.5.11",
支付宝开发者工具版本1.12.15
微信开发者工具版本1.03.2005140
最简复现demo
demo.zip
The text was updated successfully, but these errors were encountered: