`vp env pin`: lockfile not updated after changing `devEngines.runtime`
メンテナーはふだん 1 日以内に返信
@liangmiQwQ がすでに取り組んでいます。
2026年11月6日 から。
評価
この issue はまだ評価されていません。
説明
Describe the bug
vp env pin updates devEngines.runtime in package.json but leaves pnpm-lock.yaml at the old node@runtime: version. vp outdated then shows the old version as current, and vp install --frozen-lockfile (e.g. in CI) fails.
Expected: refresh the lockfile, or at least tell the user to run vp install.
Reproduction
N/A (empty directory is enough)
Steps to reproduce
cd "$(mktemp -d)"
echo '{"name":"x"}' > package.json
vp env pin 24.21.0 [email protected] --target dev-engines
vp install
vp env pin lts --target dev-engines # resolves to 26.13.0
grep -A1 '"node"' package.json # "version": "26.13.0"
grep 'runtime:' pnpm-lock.yaml # still runtime:24.21.0
vp outdated # node (dev): current 24.21.0
vp install --frozen-lockfile # fails
System Info
$ vp env current
Node.js:
Version 26.13.0
Source devEngines.runtime
Installed true
Mode managed
Package Manager:
Name pnpm
Version 12.18.0
Source devEngines.packageManager
Installed true
Mode managed
$ vp --version
vp v1.5.0
Used Package Manager
pnpm
Logs
$ vp outdated
┌────────────┬─────────┬─────────┐
│ Package │ Current │ Latest │
├────────────┼─────────┼─────────┤
│ node (dev) │ 24.21.0 │ 26.13.0 │
└────────────┴─────────┴─────────┘
$ vp install --frozen-lockfile
Error: ERR_PNPM_OUTDATED_LOCKFILE
× installing dependencies
╰─▶ Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up
to date with package.json.
Failure reason:
specifiers in the lockfile don't match specifiers in package.json:
* in importers["."]:
* 1 dependency is mismatched:
- node (lockfile: runtime:24.21.0, manifest: runtime:26.13.0)
help: Regenerate the lockfile with `pnpm install --lockfile-only` so that
pnpm-lock.yaml reflects the current package.json, then re-run `pnpm
install --frozen-lockfile`.
- 主要言語
- Rust
- スター
- 6.5k
- フォーク
- 297
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 238
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
contribution welcome documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
voidzero-dev/vite-plus#3370 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
triage: not actionable
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
voidzero-dev/vite-plus#3296 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
voidzero-dev/vite-plus#3235 ·
メンテナーはふだん 1 日以内に返信
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and later対応中かも @kshanxs が 13 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
voidzero-dev/vite-plus#3219 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/vite-plus#2882 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug order-flow studies ui
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
userFRM/egui-charts#2417 ·
メンテナーはふだん 1 日以内に返信
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay live対応中かも @ragelfundionctrumnar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UCS-Care-Group/mailcraft#862 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
smoltcp-rs/smoltcp#1243 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信