You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Im getting this error atm. I have no experience working with this. Would you mind helping me out?
Naruto-helper-main\node_modules\mongoose\lib\connection.js:689
throw new MongooseError('The uri parameter to openUri() must be a ' +
^
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 (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\connection.js:689:11)
at C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\index.js:340:10
at C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\helpers\promiseOrCallback.js:32:5
at new Promise ()
at promiseOrCallback (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\helpers\promiseOrCallback.js:31:10)
at Mongoose._promiseOrCallback (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\index.js:1140:10)
at Mongoose.connect (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\index.js:339:20)
at Object. (C:\Users\ramja\Desktop\Naruto-helper-main\index.js:14:10)
The text was updated successfully, but these errors were encountered:
Hi, Im getting this error atm. I have no experience working with this. Would you mind helping me out?
Naruto-helper-main\node_modules\mongoose\lib\connection.js:689
throw new MongooseError('The
uri
parameter toopenUri()
must be a ' +^
MongooseError: The
uri
parameter toopenUri()
must be a string, got "undefined". Make sure the first parameter tomongoose.connect()
ormongoose.createConnection()
is a string.at NativeConnection.Connection.openUri (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\connection.js:689:11)
at C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\index.js:340:10
at C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\helpers\promiseOrCallback.js:32:5
at new Promise ()
at promiseOrCallback (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\helpers\promiseOrCallback.js:31:10)
at Mongoose._promiseOrCallback (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\index.js:1140:10)
at Mongoose.connect (C:\Users\ramja\Desktop\Naruto-helper-main\node_modules\mongoose\lib\index.js:339:20)
at Object. (C:\Users\ramja\Desktop\Naruto-helper-main\index.js:14:10)
The text was updated successfully, but these errors were encountered: