Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeORM is using wrong driver #76

Open
tellmewhy-sir opened this issue Jun 20, 2020 · 1 comment
Open

TypeORM is using wrong driver #76

tellmewhy-sir opened this issue Jun 20, 2020 · 1 comment

Comments

@tellmewhy-sir
Copy link

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

@uki00a
Copy link
Member

uki00a commented Jun 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants