Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(nextjs): Remove usage of chalk to avoid runtime errors #18010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
chargome merged 3 commits into develop from cg-next-rm-chalk
Oct 23, 2025

Conversation

@chargome
Copy link
Member

@chargome chargome commented Oct 23, 2025

This is currently a bandaid fix to remove the chalk import statements that break turbopack apps during runtime until we have more details how this code gets bundled into production.

ref #17806
closes #17691

seer-by-sentry[bot] reacted with hooray emoji
@chargome chargome self-assigned this Oct 23, 2025
Copy link
Member

I guess it can also be removed from the dependencies, since I couldn't find any other usage there anymore

chargome reacted with thumbs up emoji

Copy link
Member

@JPeer264 JPeer264 left a comment

Choose a reason for hiding this comment

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

LGTM

@chargome chargome merged commit 027ab90 into develop Oct 23, 2025
381 of 383 checks passed
@chargome chargome deleted the cg-next-rm-chalk branch October 23, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@logaretm logaretm logaretm approved these changes

@JPeer264 JPeer264 JPeer264 approved these changes

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Failed to load external module @sentry/nextjs: Error [ERR_REQUIRE_ESM]

AltStyle によって変換されたページ (->オリジナル) /