Error occurs when enabling https on dev in Nuxt3
See original GitHub issueEnvironment
- Operating System:
Darwin
- Node Version:
v16.16.0
- Nuxt Version:
3.0.0-rc.9
- Nitro Version:
0.5.1
- Package Manager:
yarn@1.22.15
- Builder:
vite
- User Config:
ssr
,app
,telemetry
,build
,modules
,components
,vueuse
,runtimeConfig
,vite
- Runtime Modules:
@vueuse/nuxt@9.2.0
,@pinia/nuxt@0.4.0
- Build Modules:
-
Reproduction
after update project to v3.0.0-rc.9 problem inited
Describe the bug
I use composable useFetch
[nuxt] [request error] [unhandled] [500] fetch failed ()
at async $fetchRaw2 (/D:/project/node_modules/ohmyfetch/dist/chunks/fetch.mjs:131:20)
at async /D:/project/.nuxt/dev/index.mjs:2411:20
at async /D:/project/.nuxt/dev/index.mjs:2472:64
at async /D:/project/.nuxt/dev/index.mjs:135:22
at async /D:/project/node_modules/h3/dist/index.mjs:492:19
at async nodeHandler (/D:/project/node_modules/h3/dist/index.mjs:438:7)
at async ufetch (/D:/project/node_modules/unenv/runtime/fetch/index.mjs:9:17)
at async $fetchRaw2 (/D:/project/node_modules/ohmyfetch/dist/chunks/fetch.mjs:131:20)
at async Object.errorhandler [as onError] (/D:/project/.nuxt/dev/index.mjs:383:16)
at async nodeHandler (/D:/project/node_modules/h3/dist/index.mjs:445:9)
Additional context
same issue in ohmyfetch: https://github.com/unjs/ohmyfetch/issues/120
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Issues with setting up HTTPS on localhost with Nuxt 3
If I try to use it in the Nuxt config file, I get the error "Object literal may only specify known properties, and...
Read more >Setting Up HTTPS on localhost in Nuxt 3 - Storyblok
Setting Up HTTPS on localhost in Nuxt 3 ... During development, apps are usually served via HTTP. However, Storyblok v2 requires your app...
Read more >The server Property - Nuxt
The server property. Nuxt let you define the server connection variables for your application inside nuxt.config.js .
Read more >Installation · Get Started with Nuxt
Get started with Nuxt quickly with our online starters or start locally with your terminal.
Read more >Build and Deploy a Full Stack Social Media App with Nuxt 3 ...
FREE Nuxt 3 Cheatsheet : https ://iwd.sh/nuxt-cheatsheet Stuck?! Join our Discord Server: https ://discord.gg/5KfYYcCaD4 Make money coding ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem
This should be resolved on the edge channel in https://github.com/nuxt/framework/pull/7271, though you will need to enable
NODE_TLS_REJECT_UNAUTHORIZED=0
? https://v3.nuxtjs.org/api/commands/dev/#nuxi-dev.