Code Monkey home page Code Monkey logo

Comments (16)

Simpleboy353 avatar Simpleboy353 commented on August 22, 2024

can you try reverting back to an older version of chalk

from reaper-2.0.

CherryWaffle avatar CherryWaffle commented on August 22, 2024

It says its a problem with node-fetch package

from reaper-2.0.

Simpleboy353 avatar Simpleboy353 commented on August 22, 2024

1). How to fix Error [ERR_REQUIRE_ESM]: require() of ESM module for the package node-fetch ?

  • Go to your package.json file

  • Replace node-fetch: "^3.0.0"  with node-fetch: "^2.6.1" 

  • Reinstall node-fetch by doing npm install [email protected]

  • Restart the bot

^^ This should probably fix the error and your bot should start to work normally.

2). How to fix Error [ERR_REQUIRE_ESM]: require() of ESM Module for the package chalk ?

  • Uninstall the package chalk

  • Do npm install [email protected] in the terminal.

  • Restart the bot.

^^ This should probably fix the error and your bot should start to work normally.

from reaper-2.0.

CherryWaffle avatar CherryWaffle commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

from reaper-2.0.

CherryWaffle avatar CherryWaffle commented on August 22, 2024

I did make a few changes, but it wont work for some reason ..

from reaper-2.0.

Rahuletto avatar Rahuletto commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Full error please ?

from reaper-2.0.

Emiluvik avatar Emiluvik commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Full error please ?

This is the full error, for me at least...
https://imgur.com/a/VrbNJYK

from reaper-2.0.

NotMinhDucGamingTV avatar NotMinhDucGamingTV commented on August 22, 2024

find the line that require client and check for typo

from reaper-2.0.

Shaham99 avatar Shaham99 commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

I got this same error how to fix this?

from reaper-2.0.

Rahuletto avatar Rahuletto commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Full error please ?

This is the full error, for me at least...
https://imgur.com/a/VrbNJYK

Full error means to show the console. It's just one line. Bruh

from reaper-2.0.

Simpleboy353 avatar Simpleboy353 commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Full error please ?

This is the full error, for me at least... https://imgur.com/a/VrbNJYK

Go to the index.js file and change the code (line 73 to line 81) to comments, and then run the bot again. This will help you to log the full error in the console.

from reaper-2.0.

Emiluvik avatar Emiluvik commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Full error please ?

This is the full error, for me at least... https://imgur.com/a/VrbNJYK

Go to the index.js file and change the code (line 73 to line 81) to comments, and then run the bot again. This will help you to log the full error in the console.

That works, thanks!

from reaper-2.0.

Emiluvik avatar Emiluvik commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Full error please ?

This is the full error, for me at least...
https://imgur.com/a/VrbNJYK

Full error means to show the console. It's just one line. Bruh

THIS is the full error. https://imgur.com/a/pNQ2xLI

from reaper-2.0.

Simpleboy353 avatar Simpleboy353 commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Error Fixed. Update your ready.js event file.

from reaper-2.0.

Emiluvik avatar Emiluvik commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Error Fixed. Update your ready.js event file.

It did work... A little bit, now I get a new error. https://imgur.com/a/cnl195u

from reaper-2.0.

Simpleboy353 avatar Simpleboy353 commented on August 22, 2024

The bot now starts, but I get this error Uncaught Exception: ReferenceError: client is not defined and the bot wont respond to commands.

Error Fixed. Update your ready.js event file.

It did work... A little bit, now I get a new error. https://imgur.com/a/cnl195u

Fixed. Should work now.

from reaper-2.0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.