`vp env pin`: lockfile not updated after changing `devEngines.runtime`
Los mantenedores suelen responder en 1 día
@liangmiQwQ ya está trabajando en esto.
Desde el 6/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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`.
- Lenguaje dominante
- Rust
- Estrellas
- 6.5k
- Forks
- 297
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 238
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/vite-plus
-
contribution welcome documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
voidzero-dev/vite-plus#3370 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
triage: not actionable
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
voidzero-dev/vite-plus#3296 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
voidzero-dev/vite-plus#3235 ·
Los mantenedores suelen responder en 1 día
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and laterPosiblemente ocupada @kshanxs la tomó hace 13 días. Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
voidzero-dev/vite-plus#3219 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
voidzero-dev/vite-plus#2882 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/vite-plus
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
bug order-flow studies ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
userFRM/egui-charts#2417 ·
Los mantenedores suelen responder en 1 día
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay livePosiblemente ocupada @ragelfundionctrumnar la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
UCS-Care-Group/mailcraft#862 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
smoltcp-rs/smoltcp#1243 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 4 días