Skip to content

Add FAQ section for 'Cannot find module @strapi/XXX' build error#2116

Merged
pwizla merged 2 commits intonextfrom
v5/faq-hoisting-troubleshooting
May 24, 2024
Merged

Add FAQ section for 'Cannot find module @strapi/XXX' build error#2116
pwizla merged 2 commits intonextfrom
v5/faq-hoisting-troubleshooting

Conversation

@Convly
Copy link
Member

@Convly Convly commented May 24, 2024

A new section is added to the FAQ providing detailed guidance on how to fix the build error Error: Cannot find module @strapi/XXX.

It provides solutions based on different package managers, specifically hoisting configuration with npm/pnpm and yarn, along with links to the official documentation.

… error

A new section is added to the FAQ providing detailed guidance on how to fix the build error `Error: Cannot find module @strapi/XXX`. It provides solutions based on different package managers, specifically npm/pnpm and yarn, along with links to the official documentation.
@Convly Convly added the pr: updated content PRs updating existing documentation content label May 24, 2024
@Convly Convly requested a review from pwizla as a code owner May 24, 2024 08:36
@vercel
Copy link

vercel bot commented May 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 9:16pm

@pwizla pwizla self-assigned this May 24, 2024
@pwizla pwizla added this to the 5.0.0 (stable) milestone May 24, 2024
@pwizla pwizla added the v5 Documentation PR that targets Strapi v5 label May 24, 2024
Copy link
Collaborator

@pwizla pwizla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks, @Convly!

Is it only for v5 or should we backport it to v4 too? 🤔

@Convly
Copy link
Member Author

Convly commented May 24, 2024

It should be fine with v5 only for now.

Co-authored-by: Ben Irvin <ben@innerdvations.com>
@pwizla pwizla merged commit 893b05a into next May 24, 2024
@pwizla pwizla deleted the v5/faq-hoisting-troubleshooting branch May 24, 2024 21:14
@pwizla pwizla modified the milestones: 5.0.0 (stable), 5.0.0-rc.0 Jun 26, 2024
@pwizla pwizla modified the milestones: 5.0.0-rc.0, 5.0.0 (stable) Aug 13, 2024
@pwizla pwizla added the source: Dev Docs PRs/issues targeting the Developer Docs label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: updated content PRs updating existing documentation content source: Dev Docs PRs/issues targeting the Developer Docs v5 Documentation PR that targets Strapi v5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants