Skip to content
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

Error with chalk Module When Running NPM Package #157

Open
dadmor opened this issue Jan 3, 2025 · 1 comment
Open

Error with chalk Module When Running NPM Package #157

dadmor opened this issue Jan 3, 2025 · 1 comment

Comments

@dadmor
Copy link

dadmor commented Jan 3, 2025

When I installed and ran a package from NPM, I encountered an error related to the chalk module.

Workaround:
I used the following workaround to resolve the issue temporarily:

// @ts-ignore: Dynamic import workaround for ESM module compatibility
import chalk from 'chalk';
@pkarw
Copy link
Collaborator

pkarw commented Jan 6, 2025

Hey? @dadmor, could you please provide us with the reproduction steps—I mean, which command causes this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants