Home > Enterprise >  getConnection/getRepository typeorm is deprecated
getConnection/getRepository typeorm is deprecated

Time:06-08

i get error for import typeOrm

enter image description here

anyone know why my typeorm package is deprecated?

enter image description here

CodePudding user response:

it may be that GetConnect is lagged, clicking on the import may suggest which one to replace, or you need to install the library you intend to use.

CodePudding user response:

Try to reinstall package:

  • yarn remove typeorm
  • yarn add typeorm

Can you show more details?

  • this is PosgreSQL?
  • show the code base of your solution, may be in nest docs
  • Related