Giter Site home page Giter Site logo

Comments (9)

master1ous avatar master1ous commented on September 7, 2024

For the 2nd issue, run cluster.js not index.js

from ticket-bot.

OnionDev1885 avatar OnionDev1885 commented on September 7, 2024

For the first issue: Upgrade NodeJS Version.

from ticket-bot.

Vaibhav-Naik-26 avatar Vaibhav-Naik-26 commented on September 7, 2024

For the 2nd issue, run cluster.js not index.js

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

from ticket-bot.

master1ous avatar master1ous commented on September 7, 2024

Like said, install node 16+

from ticket-bot.

Vaibhav-Naik-26 avatar Vaibhav-Naik-26 commented on September 7, 2024

#1 (comment)

still error, mine is node 16.9

from ticket-bot.

Vaibhav-Naik-26 avatar Vaibhav-Naik-26 commented on September 7, 2024

I request the @mipcit1010 to add package.json file.

from ticket-bot.

Technology-King avatar Technology-King commented on September 7, 2024

I request again, @mipcit1010 to add package.json file.

from ticket-bot.

master1ous avatar master1ous commented on September 7, 2024

I request again, @mipcit1010 to add package.json file.

Hello, sorry for the inconvenience but this code is no longer supported,
There is a new repository for a Demo ticket bot using mongo db, which works.
I might upload a newer version of this current code sometime.

from ticket-bot.

Vaibhav-Naik-26 avatar Vaibhav-Naik-26 commented on September 7, 2024

Ok

from ticket-bot.

Related Issues (1)

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.