Skip to content
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

'useNewUrlParser' does not exist in type 'TypegooseConnectionOptions' #454

Open
Chris8800 opened this issue Nov 17, 2021 · 4 comments
Open

Comments

@Chris8800
Copy link

I am trying to connect to mongo but I am getting the error msg above. I have read the README and installed as explained. Whats the fix?

@galaxyJM
Copy link

maybe the version problem

@ideacco
Copy link

ideacco commented Dec 27, 2021

I am trying to connect to mongo but I am getting the error msg above. I have read the README and installed as explained. Whats the fix?

Yes, I have the same problem

ps:
node: 17.0
npm: 8.1.4
nest: 8.1.6
mongoose: "^6.1.3"
nestjs-typegoose: "^7.1.38"

@orimdominic
Copy link

I think that the mongoose version of ^6.1.3 doesn't allow for that option.
I think you can avoid including it.
I tried it with @typegoose/typegoose: "^9.4.0" recently and my connection was successful

@findingtheconcept
Copy link

RIP nestjs-typegoose...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants