You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[ X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
installed @nestjs/typeorm using Postgres
added connection string forRoot()
@Module({
imports: [TypeOrmModule.forRoot({
// TODO: host, port, username and database should be in env var
type: 'postgres',
host: 'localhost',
port: 5432,
username: 'postgres',
password: 'password',
database: 'discover-rx',
entities: [App],
synchronize: true, // TODO: not true for prod, env variable
retryAttempts: 3,
})],
Did an npm start
Get this error when running: rxjs_1.lastValueFrom is not a function.
Expected behavior
shouldn't throw this error and app should run as usual
Minimal reproduction of the problem with instructions
I'm submitting a...
Current behavior
installed @nestjs/typeorm using Postgres
added connection string forRoot()
Did an
npm start
Get this error when running: rxjs_1.lastValueFrom is not a function.
Expected behavior
shouldn't throw this error and app should run as usual
Minimal reproduction of the problem with instructions
Followed in the article provided to second step of creating entity
https://docs.nestjs.com/techniques/database
What is the motivation / use case for changing the behavior?
I want my app to run with TypeORM
Environment
The text was updated successfully, but these errors were encountered: