Commit e9a6f2d
committed
fix(deploy): launch PM2 via npm to avoid pnpm auto-install crash loop
In a Rush-managed package, pnpm 11's verify-deps-before-run auto-fires a
standalone `pnpm install` before `pnpm run`, which fails with
ERR_PNPM_WORKSPACE_PKG_NOT_FOUND (siblings like @meese-os/eslint-config aren't
present as a pnpm workspace) and crash-loops the service, leaving nothing on
:8000 and producing a Cloudflare 502. npm runs the script without a deps check;
Rush still owns the build in deploy.sh.1 parent 3acf8e4 commit e9a6f2d
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
0 commit comments