Skip to content

I can't seem to upgrade via vp upgrade #2639

Closed

Description

@julillermo

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 [email protected] (current: 0.3.0)
info: downloading [email protected] 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

Activity

  1. added theissue type on Sep 9, 2026
  2. fengmk2 commented on Sep 9, 2026

    @fengmk2
    Member

    I will try to reproduce it first.

  3. self-assigned this
    on Sep 9, 2026
  4. added
    bug
    on Sep 9, 2026
  5. added this to the RC milestone on Sep 9, 2026
  6. added a commit that references this issue on Sep 11, 2026
    17ad495
  7. julillermo commented on Sep 15, 2026

    @julillermo
    Author

    Hello! 😁

    To confirm, will the fix for my scenario be to reinstall vite-plus?

  8. fengmk2 commented on Sep 15, 2026

    @fengmk2
    Member

    @julillermo Yes, please reinstall vite-plus to the latest version, which should resolve the issue you encountered.

  9. added a commit that references this issue on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpending triage

Type

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions