Commit e42b684
fix: add npm install step to deploy-preview job
- Add "npm ci" before building in deploy-preview job
- This fixes "next: not found" error when vercel build falls back to npm run build
- Dependencies are now installed before attempting to build the project
The error occurred because:
1. Vercel build failed (VERCEL_TOKEN not configured)
2. Fallback to npm run build was triggered
3. But dependencies were never installed, causing "next: not found"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4de4dde commit e42b684
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
| |||
0 commit comments