forked from odavid/typeorm-transactional-cls-hooked
-
Notifications
You must be signed in to change notification settings - Fork 27
forked from odavid/typeorm-transactional-cls-hooked
-
Notifications
You must be signed in to change notification settings - Fork 27
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
SyntaxError: Cannot use import statement outside a module #32
Comments
@Serg890 same to me. Deleted the tests folder and worked. Any definitive solution for this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The project starts and works, but when I run the migration I get the following error.
Also, I tried deleting the Post.entity.ts file from node modules and it works correctly but it's not quite correct to change.
How can I fix it?
**\node_modules\typeorm-transactional\tests\entities\Post.entity.ts:1
"import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';
^^^^^^
SyntaxError: Cannot use import statement outside a module
The text was updated successfully, but these errors were encountered: