Skip to content

Commit 884848d

Browse files
Add .npmrc with node-linker=hoisted for Vercel deployment
- Create apps/studio/.npmrc with node-linker=hoisted - Fixes "invalid deployment package for a Serverless Function" error - Prevents pnpm from creating symlinks that break Vercel packaging - Uses flat node_modules structure that Vercel can package correctly Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/415f5fd4-83fb-4626-ba67-7da11840f685 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
1 parent 00abb3c commit 884848d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/studio/.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Vercel deployment configuration
2+
# Use hoisted node-linker to avoid symlinks that break Vercel serverless functions
3+
node-linker=hoisted

0 commit comments

Comments
 (0)