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

TypeError: Cannot read property 'XMLHttpRequest' of undefined #595

Closed
Allenxuxu opened this issue Jul 25, 2022 · 4 comments
Closed

TypeError: Cannot read property 'XMLHttpRequest' of undefined #595

Allenxuxu opened this issue Jul 25, 2022 · 4 comments

Comments

@Allenxuxu
Copy link

uniapp 下使用出现如下报错:

TypeError: Cannot read property 'XMLHttpRequest' of undefined
    at createXHR (helper.ts?ee0d:128)
    at helper.ts?ee0d:195
    at new Q (VM1074 WAService.js:1)
    at Object.request (helper.ts?ee0d:194)
    at index.ts?2342:21
    at step (index.ts?2342:3)
    at Object.next (index.ts?2342:3)
    at index.ts?2342:3
    at new Q (VM1074 WAService.js:1)
    at __awaiter (index.ts?2342:3)
@yinxulai
Copy link
Collaborator

yinxulai commented Aug 9, 2022

感谢反馈,我们会尽快验证该问题

@Ilizarov1
Copy link

试了一下,没碰到这个问题,请提供更详细的使用场景

代码:
https://github.com/Ilizarov1/uni-js-sdk-test
预览:
https://uni-js-sdk-test.vercel.app/

@Allenxuxu
Copy link
Author

试了一下,没碰到这个问题,请提供更详细的使用场景

代码: https://github.com/Ilizarov1/uni-js-sdk-test 预览: https://uni-js-sdk-test.vercel.app/

我是使用 uni 开发微信小程序,似乎微信小程序不支持的缘故😅。

@yinxulai
Copy link
Collaborator

是的,小程序不支持

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

3 participants