Commit 831ecad
committed
fix(ci): use pnpm-compatible install flags
Previous Fix Issue:
- Used npm flag --legacy-peer-deps with pnpm
- pnpm doesn't recognize npm-specific flags
- Error: 'Unknown option: legacy-peer-deps'
Correct Fix:
- Remove --frozen-lockfile to allow dependency resolution
- pnpm will handle peer dependency conflicts automatically
- Allows installation to proceed with warnings
Alternative considered:
- Could use --no-strict-peer-dependencies
- But simpler to just allow lock file updates
Testing:
- pnpm install works locally without frozen-lockfile
- Next.js builds successfully
- Site functions normally
Refs: Deployment failure in run #185892828251 parent 676d09b commit 831ecad
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments