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

Setting dev server port with .env make dev server stuck #1781

Closed
betarixm opened this issue Dec 28, 2022 · 2 comments
Closed

Setting dev server port with .env make dev server stuck #1781

betarixm opened this issue Dec 28, 2022 · 2 comments

Comments

@betarixm
Copy link

betarixm commented Dec 28, 2022

Environment


  • Operating System: Darwin
  • Node Version: v16.15.1
  • Nuxt Version: 3.0.0
  • Nitro Version: 1.0.0
  • Package Manager: pnpm@7.18.2
  • Builder: vite
  • User Config: modules
  • Runtime Modules: @nuxt/content@2.3.0
  • Build Modules: -

Reproduction

  1. pnpm dlx nuxi init content-app -t content
  2. pnpm i --shamefully-hoist
  3. Add PORT=13370 in .env file. (Any port not in use is okay to reproduction)
  4. Then, dev server is opened at port 13370 but it doesn't work. (stuck in loading state)

Describe the bug

After reproduction steps, dev server stucks in loading state.

Additional context

No response

Logs

No response

Copy link
Member

farnabaz commented Dec 29, 2022

This is related to conflict between module's dev server and Nuxt server. I've raised the issue in upstream package.

@farnabaz
Copy link
Member

This should be fixed in the latest release.

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

2 participants