'"typeorm"' has no exported member named 'InjectRepository'. Did you mean 'getRepository'?
Secret1007 opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
Minimum reproduction code
XX
Steps to reproduce
No response
Expected behavior
why happen to this..................
Package version
9.0.1
NestJS version
9.5.0
Node.js version
18.16.0
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
No response
Looks like your tsc settings are for some reason looking at the Typeorm package for typings of the @nestjs/typeorm
package. Got a minimum reproduction?
thanks,when i used npm instead of cnpm to install the packages,the issue disappeared。