When opening a page of nuxt3 in a qq app window on an apple phone, it reports 500 error code
Environment
- Operating System: Windows_NT
- Node Version: v18.18.0
- Nuxt Version: 3.9.0
- CLI Version: 3.10.0
- Nitro Version: 2.8.1
- Package Manager: [email protected]
- Builder: -
- User Config: devtools, app, sourcemap, typescript, modules, site, css, imports, legacy, vite, nitro, runtimeConfig, image
- Runtime Modules: [email protected], @nuxt/[email protected], @nuxt/[email protected], @pinia/[email protected], @pinia-plugin-persistedstate/[email protected], [email protected], @element-plus/[email protected], @nuxtjs/[email protected]
- Build Modules: -
Reproduction
uconf.com
Describe the bug
When opening a page of nuxt3 in a qq app window on an apple phone, it reports 500 error code
Additional context
No response
Logs
No response
@mumuchongya
Although this is not a recommended practice, you can set up in package.json ↓
"resolutions": {
"ofetch": "npm:[email protected]"
},
"overrides": {
"ofetch": "npm:[email protected]"
}
After that, re-run npm install and package it again. This should temporarily solve your problem.
@mumuchongya Although this is not a recommended practice, you can set up in
package.json↓"resolutions": { "ofetch": "npm:[email protected]" }, "overrides": { "ofetch": "npm:[email protected]" }After that, re-run
npm installand package it again. This should temporarily solve your problem.
Thank you! This is the best solution I've used so far!
If someone doesn't have high stability requirements, they can use this module → markthree/nuxt-fix-ofetch
https://github.com/unjs/ofetch/pull/366
I also hope the author can solve this problem of QQ browser
This should be resolved in the latest v3.12.1 via https://github.com/nuxt/nuxt/pull/27441. Let me know if not, and I will happily reopen. 🙏
此问题应在最新的 v3.12.1 中通过#27441得到解决。如果没有解决,请告诉我,我会很乐意重新打开。🙏
Wow, I'm so surprised, thanks for your reply, I'm even more happy that you are going to deal with this issue, thank you