1
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?

npmからpnpmに移行するときビルドが通らない

Posted at

場当たり的に解決できたのでメモ。
詳細が分かる方は編集リクエストかコメントください。🙇

TL;DR

pnpm install
pnpm install --shamefully-hoist

環境

OS: Windows 11 Home 23H2
Laravel: 8.83.27
Node.js: v12.19.0
pnpm: 5.18.10

雑な説明

パッケージのインストール時、シンボリックリンクに対応するオプションを指定するとnode_modules/以下がnpm installのファイルパスとほぼ同じになる。

1
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
1
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?