typeorm icon indicating copy to clipboard operation
typeorm copied to clipboard

TypeORM is using wrong driver

Open tellmewhy-sir opened this issue 4 years ago • 1 comments

Issue type:

[ ] question [x] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [x] postgres [ ] cockroachdb [ ] sqlite [ ] sqljs [ ] react-native [ ] expo

TypeORM version:

[x] latest [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

I've set up my project for a Postgres database but it seems like TypeORM is trying to use the SQL Lite Driver which keeps throwing an error.

ormconfig.json

{
   "type": "postgres",
   "host": "localhost",
   "port": 5432,
   "username": "[USERNAME]",
   "password": "[PASSWORD]",
   "database": "[DATABASE]",
   "synchronize": true,
   "logging": false,
   "entities": [
      "entity/**/*.ts"
   ],
   "migrations": [
      "migration/**/*.ts"
   ],
   "subscribers": [
      "subscriber/**/*.ts"
   ],
   "cli": {
      "entitiesDir": "entity",
      "migrationsDir": "migration",
      "subscribersDir": "subscriber"
   }
}

The error: Screenshot 2020-06-20 16 31 55

I get this just from following the Quick Start instructions

tellmewhy-sir avatar Jun 20 '20 22:06 tellmewhy-sir

@tellmewhy-sir Thanks for the report! denolib/[email protected] does not support the latest version of Deno. Can you update it to v0.2.23-rc5?

uki00a avatar Jun 21 '20 01:06 uki00a