Nest: Unexpected token {

Created on 26 Apr 2019  路  2Comments  路  Source: nestjs/nest

image

Saw the issue here to but the person closed it and didnt mentioned how he solved it.

Most helpful comment

Fixed:

 {
     "type": "mysql",
     "host": "127.0.0.1",
     "port": 3306,
     "username": "root",
     "password": "root",
     "database": "dev_lokiapi",
    #== CHANGE THIS ==#
     "entities": ["dist/**/**.entity{.ts,.js}"],
     "synchronize": true,
     "logging": true
 }

All 2 comments

Fixed:

 {
     "type": "mysql",
     "host": "127.0.0.1",
     "port": 3306,
     "username": "root",
     "password": "root",
     "database": "dev_lokiapi",
    #== CHANGE THIS ==#
     "entities": ["dist/**/**.entity{.ts,.js}"],
     "synchronize": true,
     "logging": true
 }

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings