-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
what kind of error is that Error: useCreateIndex
is an invalid option. at Mongoose.set (C:\Users\PC\Desktop\multi-level-marketing-management\app\node_modules\mongoose\lib\index.js:173:48)
#10732
Comments
This option is deprecated since v6 if I'm not mistaken, try to remove it from the options object. |
thanks bro for pointing the error
when use this url
I want to know is how can correct this error by custom localhost url
here is error output
I think uername is admin password is admin how can auth this credentials in mondb |
@vnxz the error you're getting is "authentication failed", so that means you're not providing the correct username, password, or authSource. I suspect the issue is that you're manually inserting users from the mongodb shell, rather than creating them using the MongoDB shell's |
useCreateIndex is no longer necessary in Mongoose 6, please remove it when you upgrade |
I downloaded old node.js project file and run
here is its db connection file
here is env file
when I run this
get the following error
error source come from node modules
I dont know why this happen
can someone explain me
where can I correct to run this file
The text was updated successfully, but these errors were encountered: