Code Monkey home page Code Monkey logo

believaboat's Issues

Cannot read property 'map' of undefined

When I'm trying to run it I get an error

client.potentialBots = config.extraTokens.map((token, i) => {
^ (this arrow is pointing at map)

TypeError: Cannot read property 'map' of undefined
at Object. (C:\Users...myloaction)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47

Dont work

It doesnt work when i ping and do the help command!

MongoNetworkError

Unhandled rejection MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connection timed out
    at connectionFailureError (C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\connection\connect.js:406:14)
    at Socket.<anonymous> (C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\connection\connect.js:294:16)
    at Object.onceWrapper (events.js:421:28)
    at Socket.emit (events.js:315:20)
    at Socket._onTimeout (net.js:482:8)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)]
    at Pool.<anonymous> (C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\topologies\server.js:438:11)
    at Pool.emit (events.js:315:20)
    at C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\connection\pool.js:562:14
    at C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\connection\pool.js:995:11
    at C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\connection\connect.js:31:7
    at callback (C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\connection\connect.js:264:5)
    at Socket.<anonymous> (C:\Users\HP\Desktop\BelievaBoat-master\node_modules\mongodb\lib\core\connection\connect.js:294:7)
    at Object.onceWrapper (events.js:421:28)
    at Socket.emit (events.js:315:20)
    at Socket._onTimeout (net.js:482:8)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

Any help?

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.