nuxt / nuxt/devtools

Cannot start service: Host version. Server keeps reloading

Open
#85 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.3k
Forks
214
Avg merge
13h 22m
Merged PRs (30d)
18

Description

Environment
  • Operating System: Darwin
  • Node Version: v18.14.1
  • Nuxt Version: 3.2.2
  • Nitro Version: 2.2.2
  • Package Manager: pnpm@7.26.3
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -
Reproduction

Git clone git@github.com: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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with pnpm install, pnpm build:ci, and pnpm dev:https from apps/portfolio, then inspect the Nuxt Devtools and Vite startup logs around the host and binary version mismatch. Done means the service starts successfully without the server reloading continuously.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, nuxt, typescript, vite
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.