#Messing up with nestjs/typeorm and typeorm packages, what should be the correct versions?

3 messages · Page 1 of 1 (latest)

nimble pagoda
#

I have been trying to upgrade with yarn upgrade-interactive and I believe I've been to agressive and broke my app. I can't figure out how to roll back.
I did my best to fix all the errors, but the following one is persistent:
https://stackoverflow.com/questions/75442293/error-ts2305-module-nestjs-typeorm-has-no-exported-member-getrepositoryto

hazy monolith
#

What's your @nestjs/typeorm version?

#

Looking at your SO post, most likely it's the fact that you're pulling nestjs/typeorm from GitHub (I believe that's what happens with that kind of import) which doesn't end up having the proper file that the main of the package.json references because it's the ts source code and not the js compiled code