Skip to content

Conversation

@dmytro-kerest
Copy link

I believe this is a proper fix to
import { Entity, PrimaryGeneratedColumn, ^ SyntaxError: Unexpected token {

Error.

Allow node to run built entities, migrations and subscribers
@bielas
Copy link

bielas commented Oct 9, 2019

This is not a good solution. It affects npm run start script. The typeorm will look for entities and ect. in js files which in dev run mode is not avaliable (if you don't build it). It should work in that way that during dev mode you don't have to have compiled ts files to js's.

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

Successfully merging this pull request may close these issues.

2 participants