Warn when the user install the local cli globally
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- node.js
- Domain
- cli, developer-experience
Research direction
Start by locating the Vite+ local CLI package's installation path for npm -g install vite-plus, then check how that package can detect a global install. Done means the global installation prints a clear warning explaining that the expected global CLI is different, while normal local installation remains unaffected.
Written by the indexing model from the issue text.
Description
Description
For some persons who don't know Vite+ from the official website, they may easily run npm -g install vite-plus to install Vite+, but it is actually not the expected global CLI. Node management and other core features are missing.
Suggested solution
Print a warning when Vite+ local cli package is installed globally.
Alternative
N / A
Additional context
N / A
https://discord.com/channels/1475973262193459293/1524301479794446488/1524365671620804659
Validations
- Read the Contributing Guidelines.
- Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- Check that there isn't already an issue requesting the same feature.
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 263
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 142
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from voidzero-dev/vite-plus
-
enhancement
voidzero-dev/vite-plus#2766 · 4 comments · 1 reaction · 1 assignee ·
-
enhancement
voidzero-dev/vite-plus#2764 · 3 comments · 1 assignee ·
-
pending triage
Difficulty 3/5 1-2 days Newbie friendliness 68/100
voidzero-dev/vite-plus#2735 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
voidzero-dev/vite-plus#2703 · 1 assignee ·
-
enhancement pending triage
Difficulty 4/5 3-5 days Newbie friendliness 55/100
voidzero-dev/vite-plus#2698 · 10 comments · 1 reaction ·
All issues in voidzero-dev/vite-plus
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100