diff --git a/scripts/lib/node_cache.py b/scripts/lib/node_cache.py index de8d122ce0..06a24440e1 100644 --- a/scripts/lib/node_cache.py +++ b/scripts/lib/node_cache.py @@ -18,7 +18,8 @@ def setup_node_modules(production: bool = DEFAULT_PRODUCTION) -> None: run( [ - "/usr/local/bin/pnpm", + "/usr/local/bin/corepack", + "pnpm", "install", "--frozen-lockfile", "--prefer-offline",