You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite package.json: "dev": "nuxt dev --https --ssl-cert localhost.pem --ssl-key localhost-key.pem"
Describe the bug
I tested it within a valid project and the default boilerplate.
The results are the same.
Additional context
No response
Logs
500
fetch failed ()
at async $fetchRaw2 (./node_modules/ohmyfetch/dist/chunks/fetch.mjs:131:20)
at async ./.nuxt/dev/index.mjs:457:20
at async ./.nuxt/dev/index.mjs:520:64
at async ./.nuxt/dev/index.mjs:106:22
at async ./node_modules/h3/dist/index.mjs:592:19
at async Server.nodeHandler (./node_modules/h3/dist/index.mjs:538:7)
The text was updated successfully, but these errors were encountered:
This problem still exists in rc10 but has evolved:
[nuxt] [request error] [unhandled] [500] request to https://0.0.0.0:3000/__nuxt_vite_node__/manifest failed, reason: unable to verify the first certificate ()
at async $fetchRaw2 (./node_modules/ohmyfetch/dist/chunks/fetch.mjs:131:20)
With RC.10, you still need NODE_TLS_REJECT_UNAUTHORIZED=0 environment variable to be set for vite working. It should work out of the box with RC.11+ (via nuxt/framework#7547). You can use edge channel to try this.
Environment
Darwin
v18.2.0
3.0.0-rc.9
0.5.0
npm@8.12.1
vite
css
,build
,modules
,buildModules
,googleFonts
@pinia/nuxt@0.4.1
@nuxtjs/google-fonts@3.0.0-0
Reproduction
Start a new project:
https://v3.nuxtjs.org/getting-started/quick-start
Install mkcert:
https://github.com/FiloSottile/mkcert
Create ssl -certificate:
mkcert localhost
Rewrite package.json:
"dev": "nuxt dev --https --ssl-cert localhost.pem --ssl-key localhost-key.pem"
Describe the bug
I tested it within a valid project and the default boilerplate.
The results are the same.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: