Giter Site home page Giter Site logo

codes-nopr / yuzuki Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 451 KB

[Private] If you fork this repo, you'll mostly going to get DMCA. Repo doesn't have a license, don't do it.🧡 Yuzuki - A fully featured Discord Music Bot in Node.js

JavaScript 99.96% Shell 0.04%

yuzuki's People

Contributors

rilysh avatar ruzie avatar

Watchers

 avatar

Forkers

kirby2021

yuzuki's Issues

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.

Trying to create a Dockerfile for the bot but while trying it out I run into the following issue:

| MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
|     at NativeConnection.Connection.openUri (/app/node_modules/mongoose/lib/connection.js:689:11)
|     at /app/node_modules/mongoose/lib/index.js:342:10
|     at /app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:32:5
|     at new Promise (<anonymous>)
|     at promiseOrCallback (/app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:10)
|     at Mongoose._promiseOrCallback (/app/node_modules/mongoose/lib/index.js:1176:10)
|     at Mongoose.connect (/app/node_modules/mongoose/lib/index.js:341:20)
|     at Object.<anonymous> (/app/src/index.js:14:10)
|     at Module._compile (node:internal/modules/cjs/loader:1103:14)
|     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)

This is the mongo uri in the .env:
MONGOOSE=mongodb://test:test@mongodb4/test

Not certain if its related to mongoose/mongo version or the way it tries to connect from within the bot.

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.