typeorm
typeorm copied to clipboard
TypeORM is using wrong driver
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:
I get this just from following the Quick Start instructions
@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?