Describe the bug
I ran vp upgrade --check and noticed that an update was available (Update available: 0.3.0 → 0.3.1). However, when I run the vp upgrade command, I receive the following error.
info: checking for updates...
info: found vite-plus@0.3.1 (current: 0.3.0)
info: downloading vite-plus@0.3.1 for linux-x64-gnu...
info: installing...
error: Setup error: Failed to install production dependencies (exit code: 1). See log for details: /home/tuliog/.local/share/vite-plus/upgrade.log
Opening the said log contains the following, but I don't get why a lockfile would be involved when running vp upgrade fails regardless of whether the folder I ran it in was a project or a regular directory
=== stdout ===
Scope: all 2 workspace projects
ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with <ROOT>/apps-ts/kami/package.json
Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
Failure reason:
specifiers in the lockfile don't match specifiers in package.json:
* 3 dependencies were added: typescript@~6.0.2, vite@catalog:, vite-plus@catalog:
=== stderr ===
I believe I installed vite plus via the viteplus site instructions.
The following is present in my .zshrc:
# Vite+ bin (https://viteplus.dev)
. "$HOME/.config/vite-plus/env"
I am on the following system:
- Linux Mint 22.3 - Cinnamon 64-bit
- Linux Kernel 7.0.0-31-generic
Reproduction
N/A
Steps to reproduce
- Run
vp upgrade --check
- Run
vp upgrade in any folder
System Info
For `vp env current`:
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.21.0
Source lts
Tool Paths:
node /home/tuliog/.local/share/vite-plus/js_runtime/node/24.21.0/bin/node
npm /home/tuliog/.local/share/vite-plus/js_runtime/node/24.21.0/bin/npm
npx /home/tuliog/.local/share/vite-plus/js_runtime/node/24.21.0/bin/npx
Package Manager:
Name pnpm
Version 11.25.0
Source devEngines.packageManager
Source Path /home/tuliog/package.json
Project Root /home/tuliog
Bin Path /home/tuliog/.local/share/vite-plus/package_manager/pnpm/11.25.0/pnpm/bin/pnpm
For `vp --version`
VITE+ - The Unified Toolchain for the Web
vp v0.3.0
Local vite-plus:
vite-plus Not found
Tools:
vite Not found
rolldown Not found
vitest Not found
oxfmt Not found
oxlint Not found
oxlint-tsgolint Not found
tsdown Not found
Environment:
Package manager pnpm v11.25.0
Node.js v24.21.0
Used Package Manager
pnpm
Logs
Validations
Describe the bug
I ran
vp upgrade --checkand noticed that an update was available (Update available: 0.3.0 → 0.3.1). However, when I run thevp upgradecommand, I receive the following error.Opening the said log contains the following, but I don't get why a lockfile would be involved when running
vp upgradefails regardless of whether the folder I ran it in was a project or a regular directoryI believe I installed vite plus via the viteplus site instructions.
The following is present in my
.zshrc:I am on the following system:
Reproduction
N/A
Steps to reproduce
vp upgrade --checkvp upgradein any folderSystem Info
Used Package Manager
pnpm
Logs
Validations