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

require() of ES Module error #5

Closed
omenwebsite opened this issue Apr 5, 2022 · 2 comments
Closed

require() of ES Module error #5

omenwebsite opened this issue Apr 5, 2022 · 2 comments
Assignees
Labels
Should Know Issues that casual users should know Wrong Usage Problem in installation or by wrong usage

Comments

@omenwebsite
Copy link

image

@omenwebsite
Copy link
Author

image

@PetyXbron
Copy link
Owner

PetyXbron commented Apr 5, 2022

A new version of the npm module chalk doesn't support the require() syntax import. (You probably have installed the v5.0.1 - the latest one)
You need to downgrade the chalk module to version: 4.1.2
Enter this command to your console for running your minecraft-bot:

npm install [email protected]

@PetyXbron PetyXbron self-assigned this Apr 5, 2022
@PetyXbron PetyXbron added the Wrong Usage Problem in installation or by wrong usage label Apr 23, 2022
@PetyXbron PetyXbron added the Should Know Issues that casual users should know label Jun 29, 2022
@PetyXbron PetyXbron changed the title es error require() of ES Module error Apr 10, 2023
@PetyXbron PetyXbron pinned this issue Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Should Know Issues that casual users should know Wrong Usage Problem in installation or by wrong usage
Projects
None yet
Development

No branches or pull requests

2 participants