-
Notifications
You must be signed in to change notification settings - Fork 31
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
I am having problem with the modules #1
Comments
For the 2nd issue, run cluster.js not index.js |
For the first issue: Upgrade NodeJS Version. |
i run cluster.js now and it shows error node cluster.js
/home/runner/Ticket-Bot/node_modules/discord-hybrid-sharding/src/Structures/Queue.js:73
timeout: item.timeout ?? this.options.timeout,
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/runner/Ticket-Bot/node_modules/discord-hybrid-sharding/src/Core/ClusterManager.js:9:15)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
exit status 1 |
Like said, install node 16+ |
still error, mine is node 16.9 |
I request the @mipcit1010 to add |
I request again, @mipcit1010 to add |
Hello, sorry for the inconvenience but this code is no longer supported, |
Ok |
I request you to please provide
package.json
andpackage-lock.json
.i am getting this error
i fixed the above issue
and then when i run , it was showing some error with
chalk
so i downgraded it and then when i run , it is showing this errorplease help, this i can't fix
The text was updated successfully, but these errors were encountered: