Skip to content

Nextjs pnpm monorepo standalone output error reproduction

Notifications You must be signed in to change notification settings

jetbridge/next-pnpm-monorepo-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Error repro for nextjs standalone bundling.

Problem: relative symlinks are copied from the root of a pnpm monorepo into the standalone output where they become invalid.

Reproduce

pnpm i
cd web
pnpm build
ls -al .next/standalone/node_modules
ls -l web/.next/standalone/node_modules
lrwxr-xr-x 81 cyber  9 Sep 15:21 next -> ../../node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next
lrwxr-xr-x 56 cyber  9 Sep 15:21 react -> ../../node_modules/.pnpm/[email protected]/node_modules/react

About

Nextjs pnpm monorepo standalone output error reproduction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published