Skip to content

Commit

Permalink
fix: hint how to change global store location
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Dec 25, 2022
1 parent 084823f commit 0048e0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quick-boxes-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@pnpm/default-reporter": patch
---

Fix the command in the hint about how to update the store location globally.
2 changes: 1 addition & 1 deletion cli/default-reporter/src/reportError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pnpm now wants to use the store at "${msg.actualStorePath}" to link dependencies
If you want to use the new store location, reinstall your dependencies with "pnpm install".
You may change the global store location by running "pnpm config set store-dir <dir>".
You may change the global store location by running "pnpm config set store-dir <dir> --global".
(This error may happen if the node_modules was installed with a different major version of pnpm)`,
}
}
Expand Down

0 comments on commit 0048e0e

Please sign in to comment.