Commit e5d5c8d
Dereference pnpm symlinks for Vercel deployment
- Replace symlinked packages with real files in node_modules
- Vercel doesn't support symlinked directories in serverless functions
- Use readlink to get real path, then copy with cp -rL
- Prevents "invalid deployment package" error from Vercel
- Applies to better-sqlite3, @libsql/client, and @ai-sdk packages
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/131c9b60-a3c7-43b6-a080-0de180a91db0
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>1 parent 466e085 commit e5d5c8d
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
| |||
0 commit comments