0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

「pnpm run dev」を止めたらinstallが走る

0
Posted at

背景

pnpm run dev を止めたら、めちゃめちゃ重い pnpm install が走るようになった

時間がない人向けに

pnpm-workspace.yaml に1行追加すればOK

verifyDepsBeforeRun: false

詳しく

原因はpnpm 10.33.0の verifyDepsBeforeRun

このバージョンでは既定値が「install」になり、 pnpm run 系終了後にnode_modulesとlockfileの不整合を検知すると、自動で pnpm install を実行されるそう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?