From e6af7b1d87fccb48357f2f0b6f1a05682bc2e42e Mon Sep 17 00:00:00 2001 From: Michael McQuade Date: Thu, 19 Sep 2024 01:35:14 -0500 Subject: [PATCH] docs: add -w flag to pnpm example (#9160) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- docs/repo-docs/getting-started/add-to-existing-repository.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/repo-docs/getting-started/add-to-existing-repository.mdx b/docs/repo-docs/getting-started/add-to-existing-repository.mdx index 47464474031ef..a561e9c5c9879 100644 --- a/docs/repo-docs/getting-started/add-to-existing-repository.mdx +++ b/docs/repo-docs/getting-started/add-to-existing-repository.mdx @@ -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 ```