Skip to content

Commit

Permalink
docs: add -w flag to pnpm example (#9160)
Browse files Browse the repository at this point in the history
It's suggested to install this into the repository root. If you do this,
you must use `--workspace-root` flag or you will get this error:


>  ERR_PNPM_ADDING_TO_ROOT  Running this command will add the dependency
to the workspace root, which might not be what you want - if you really
meant it, make it explicit by running this command again with the -w
flag (or --workspace-root). If you don't want to see this warning
anymore, you may set the ignore-workspace-root-check setting to true.
  • Loading branch information
giraffesyo committed Sep 19, 2024
1 parent 98ad530 commit e6af7b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ We recommend you install `turbo` both globally and into your repository's root f
# Global install
pnpm add turbo --global
# Install in repository
pnpm add turbo --save-dev
pnpm add turbo --save-dev --workspace-root
```

</Tab>
Expand Down

0 comments on commit e6af7b1

Please sign in to comment.