Skip to content

vp --version not showing installed Node version #1020

@nofxboy1234

Description

@nofxboy1234

Describe the bug

When running vp --version, it shows Node.js under Environment as Not found, instead of showing the current node version.
When running node --version, it shows v24.14.0.
When running vp env current, it shows 24.14.0.
When running vp env doctor, it shows 24.14.0 and Node binary: installed

Reproduction

https://github.com/nofxboy1234/vp-temp1

Steps to reproduce

I ran the following after making sure system installed nvm, node, pnpm were uninstalled so that vp can manage them.

Run vp create
Choose Vite+ Application
Enter a package name
Choose pnpm as package manager
Choose an agent
Choose an editor
Choose Yes to pre-commit hooks

cd into the project
Run vp --version
Check value for Environment -> Node.js

System Info

`vp env current`:

dylan@fedora:hardly-commercial$ vp env current
VITE+ - The Unified Toolchain for the Web

Environment:
  Version  24.14.0
  Source   lts

Tool Paths:
  node  /home/dylan/.vite-plus/js_runtime/node/24.14.0/bin/node
  npm   /home/dylan/.vite-plus/js_runtime/node/24.14.0/bin/npm
  npx   /home/dylan/.vite-plus/js_runtime/node/24.14.0/bin/npx

`vp --version`:

dylan@fedora:hardly-commercial$ vp --version
VITE+ - The Unified Toolchain for the Web

vp v0.1.12

Local vite-plus:
  vite-plus  v0.1.12

Tools:
  vite             v8.0.0
  rolldown         v1.0.0-rc.9
  vitest           v4.1.0
  oxfmt            v0.40.0
  oxlint           v1.55.0
  oxlint-tsgolint  v0.17.0
  tsdown           v0.21.3

Environment:
  Package manager  pnpm v10.32.1
  Node.js          Not found

Used Package Manager

pnpm

Logs

Validations

Metadata

Metadata

Labels

No labels
No labels

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions