FlowFuse / FlowFuse/flowfuse

Update vite off of v6.x stream once node 24 is default

Open Beginner friendly
#8,260 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 20h
Merged PRs (30d)
149

Description

For reference:

_Originally posted by @Steve-Mcl in https://github.com/FlowFuse/flowfuse/issues/7767#issuecomment-5398589821_

> **vite held at 6.4.3 (not 7/8).** vite ≥7 requires `node ^20.19 || >=22.12`, which would break our `engines: node >=20.10.0` on the dev/test toolchain. 6.4.3 is the patched release that stays compatible. It's pinned as a blanket override rather than a range-keyed one because vite is a _peer_ dependency of `@vitejs/plugin-vue` and `vitest`; a range-keyed override there trips an `ERESOLVE` peer conflict, whereas an exact pin keeps every vite edge in agreement. NOTE the peer dep supports v4, v5, v6, v7 and v8 so a blanket override is not an issue here.

With the move to Node 24 in FF 3.0 we need to address this - lets get this merged for the time being & I'll raise an issue

Contributor guide

Open the contributing guide

Research direction

Inspect the package manifest for the Node engine requirement and the exact Vite override, then review the Vite, @vitejs/plugin-vue, and vitest dependency relationships. Run the dependency installation and development/test toolchain under Node 24. Done means Vite is no longer held to the 6.4.3 pin without introducing peer-resolution or compatibility failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, vite
Domain
build-system, tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.