You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/faq.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,11 @@ Yes, but it's a bit clumsy right now.
34
34
35
35
First, make sure you fetched it: `bazel fetch @pnpm//:*`
36
36
37
-
Then run `bazel run @nodejs_host//:node $(bazel info output_base)/external/pnpm/package/bin/pnpm.cjs`
37
+
Then run `bazel run -- @nodejs_host//:node $(bazel info output_base)/external/pnpm/package/bin/pnpm.cjs`
38
38
39
-
You can use this recipe to make sure your developers run the exact same pnpm and node versions.
39
+
You can use this recipe to make sure your developers run the exact same pnpm and node versions that Bazel does.
40
+
41
+
Alternatively, if you don't care that the pnpm version matches, you could use a shorter command like `bazel run -- @nodejs_host//:npx_bin pnpm@latest` to just use the latest pnpm version.
0 commit comments