fix-broken-next-symlinks
OfficialFix broken .next/node_modules symlinks
Authorgrowilabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Turbopack externalizes packages into .next/node_modules as symlinks that can break after production assembly excludes devDependencies, causing CI or production builds to fail when symlink targets are missing.
Core Features & Use Cases
- Reproduce and diagnose the broken symlink failure locally by running the build, assembling production artifacts, and executing the symlink checker.
- Decision guidance to determine whether a package should be allowlisted because it is client-only or moved from devDependencies to dependencies.
- Verification workflow that enforces the required build → assemble-prod.sh → check-next-symlinks.sh sequence to confirm resolution.
- Use case: Resolve CI failures where dynamically imported client packages (for example socket.io-client) are externalized by Turbopack and omitted from production installs.
Quick Start
Reproduce the failure with a local build, run assemble-prod.sh, run the symlink checker, then either add the package to the allowlist or move it to dependencies and re-run the verification sequence.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fix-broken-next-symlinks Download link: https://github.com/growilabs/growi/archive/main.zip#fix-broken-next-symlinks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.