Commit e16291e
fix(stackblitz): bootstrap pnpm 10 in WebContainer start command (#464)
StackBlitz WebContainers ship a pinned pnpm 8.15.6, which fails the
repo's `engines.pnpm >=10.0.0` gate under `engine-strict=true` and
cannot read the lockfileVersion 9.0 pnpm-lock.yaml. The "Open in
StackBlitz" flow therefore died on `pnpm install` with
ERR_PNPM_UNSUPPORTED_ENGINE.
Prepend `npm i -g pnpm@10.33.0` (matching the `packageManager` field)
to the startCommand so the WebContainer installs a compatible pnpm
before install/dev. Keeps engine-strict and the Node 22 / pnpm 10
requirements intact for real dev + CI. Config-only; does not affect
the publishable dist/objectstack.json.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent e23fbeb commit e16291e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments