Skip to content

Should Vite+ re-install global packages installed by a different node version? #1598

@liangmiQwQ

Description

@liangmiQwQ

When I made up #1477, I actually thought about a question: should we reinstall the packages installed with a different node version.

For example, you installed oxlint globally with node v21.0.0, but now you are running vp update -g with node v25.0.0.

The reason why I have this question is different nodes can have different installing behaviors, like engine.node compatibility checks or some post-install scripts.

Originally posted by @liangmiQwQ in #1596 (review)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions