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 · 0 comments
Open

Error with chalk Module When Running NPM Package #157

dadmor opened this issue Jan 3, 2025 · 0 comments

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';
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

1 participant