devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Cannot start service: Host version. Server keeps reloading

Open alvarosabu opened this issue 2 years ago • 2 comments

Environment

  • Operating System: Darwin
  • Node Version: v18.14.1
  • Nuxt Version: 3.2.2
  • Nitro Version: 2.2.2
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Git clone [email protected]:alvarosabu/portfolio.git

pnpm install
pnpm build:ci
cd apps/portfolio
pnpm dev:https

Describe the bug

This started happening after installing @nuxt/devtools with npx and updating nuxt to v3.2.2

The server keeps reloading forever in the browser

https://user-images.githubusercontent.com/4699008/220281866-07daa574-cd82-40be-948a-145e237ad1f7.mov

[ERROR] Cannot start service: Host version "0.17.10" does not match binary version "0.17.5"

Additional context

No response

Logs

✔ Nuxt Devtools is enabled v0.1.4 (experimental)                                                                                   08:46:08

 WARN  Sourcemap for "/__uno.css" points to missing source files                                                                   08:46:11

ℹ Vite client warmed up in 1953ms                                                                                                  08:46:11
✘ [ERROR] Cannot start service: Host version "0.17.10" does not match binary version "0.17.5"

1 error

 ERROR  Error: The service was stopped                                                                                       nitro 08:46:11


undefined

✔ Nitro built in 127 ms                                                                                                      nitro 08:46:11

alvarosabu avatar Feb 21 '23 07:02 alvarosabu

same as i

SamWeichangyue avatar Feb 23 '23 08:02 SamWeichangyue

It looks like an esbuild version misalignment. Did you tried to reinstall your dependencies and maybe restart your OS?

antfu avatar Mar 07 '23 10:03 antfu