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

Nuxt 3 RC.9 development use --https with key and cert it's report ERROR #14819

Closed
hua86430 opened this issue Sep 6, 2022 · 2 comments
Closed

Comments

@hua86430
Copy link

hua86430 commented Sep 6, 2022

Environment

Nuxt project info: 20:45:34


  • Operating System: Darwin
  • Node Version: v16.14.0
  • Nuxt Version: 3.0.0-rc.9
  • Nitro Version: 0.5.1
  • Package Manager: yarn@1.22.18
  • Builder: vite
  • User Config: app, meta, serverMiddleware, css, build, vite, modules, components, imports
  • Runtime Modules: @vueuse/nuxt@9.0.2, @pinia/nuxt@0.4.1
  • Build Modules: -

Reproduction

1662468449868
1662468587165

Describe the bug

in RC8 or earlier version, use -https with key and cert in development environment is goods,
in RC9 it's report ERROR , but use http is work fine . how can I do ?

Additional context

No response

Logs

No response

@danielroe
Copy link
Member

This should be resolved in the edge channel. See nuxt/framework#7271.

Let me know if not and I'll reopen.

@TheDutchCoder
Copy link
Contributor

TheDutchCoder commented Sep 6, 2022

I still get this error on the edge channel.

This is what I run: NODE_TLS_REJECT_UNAUTHORIZED=0 npx nuxi dev --https --ssl-cert localhost.crt --ssl-key localhost.key

Also as a sidenote, when using the edge channel, it always installs rc.9, isn't it supposed to install what's committed to master?

I guess third time's the charm, it started working after opting out and in again!

@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants