Movatterモバイル変換


[0]ホーム

URL:


メインコンテンツまでスキップ
Version: 10.x

エラーコード

ERR_PNPM_UNEXPECTED_STORE

モジュールディレクトリが存在し、別のストアディレクトリにリンクされています。

If you changed the store directory intentionally, runpnpm install and pnpm will reinstall the dependencies using the new store.

ERR_PNPM_NO_MATCHING_VERSION_INSIDE_WORKSPACE

ワークスペースに存在しないワークスペース依存関係がプロジェクトに含まれています。

For instance, packagefoo hasbar@1.0.0 in thedependencies:

{
"name":"foo",
"version":"1.0.0",
"dependencies":{
"bar":"workspace:1.0.0"
}
}

However, there is onlybar@2.0.0 in the workspace, sopnpm install will fail.

To fix this error, all dependencies that use theworkspace protocol should be updated to use versions of packages that are present in the workspace. This can be done either manually or using thepnpm -r update command.

ERR_PNPM_PEER_DEP_ISSUES

pnpm install will fail if the project has unresolved peer dependencies or the peer dependencies are not matching the wanted ranges. この問題を解決するには、不足している peer dependencies をインストールします。

You may also selectively ignore these errors using thepnpm.peerDependencyRules.ignoreMissing andpnpm.peerDependencyRules.allowedVersions fields inpackage.json.

ERR_PNPM_OUTDATED_LOCKFILE

このエラーは、ロックファイルを変更しないとインストールを実行できない場合に発生します。 This might happen in a CI environment if someone has changed apackage.json file in the repository without runningpnpm install afterwards. あるいは、誰かがロックファイルへの変更をコミットするのを忘れたかです。

To fix this error, just runpnpm install and commit the changes to the lockfile.

ERR_PNPM_TARBALL_INTEGRITY

このエラーは、ダウンロードされたパッケージの tarball が整合性チェックサムの期待値と一致しなかったことを示します。

If you use the npm registry (registry.npmjs.org), then this probably means that the integrity in your lockfile is incorrect.これは、ロックファイルのマージ競合を正常に解決しなかった場合に発生する可能性があります。

パッケージの既存のバージョンを上書きできるレジストリを使用している場合、あなたのローカルのメタデータキャッシュに、パッケージの古いバージョンの整合性チェックサムがキャッシュされているのかもしれません。 In this case, you should runpnpm store prune. このコマンドは、あなたのローカルのメタデータキャッシュを削除します。 その後、失敗したコマンドを再試行してください。

しかし、パッケージが正しいURLからダウンロードされていることも注意して確認してください。 URLはエラーメッセージに表示されています。

ERR_PNPM_MISMATCHED_RELEASE_CHANNEL

The config fielduse-node-version defines a release channel different from version suffix.

例:

  • rc/20.0.0 defines anrc channel but the version is that of a stable release.
  • release/20.0.0-rc.0 defines arelease channel but the version is that of an RC release.

To fix this error, either remove the release channel prefix or correct the version suffix.

Note that it is not allowed to specify node versions likelts/Jod.The correct syntax for stable release is strictly X.Y.Z or release/X.Y.Z.

ERR_PNPM_INVALID_NODE_VERSION

The value of config fielduse-node-version has an invalid syntax.

Below are the valid forms ofuse-node-version:

  • Stable release:
    • X.Y.Z (X,Y,Z are integers)
    • release/X.Y.Z (X,Y,Z are integers)
  • RC release:
    • X.Y.Z-rc.W (X,Y,Z,W are integers)
    • rc/X.Y.Z-rc.W (X,Y,Z,W are integers)

[8]ページ先頭

©2009-2025 Movatter.jp