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

ERROR: Unexpected token 'export' #2

Open
MustafizSaadi opened this issue Apr 23, 2024 · 0 comments
Open

ERROR: Unexpected token 'export' #2

MustafizSaadi opened this issue Apr 23, 2024 · 0 comments

Comments

@MustafizSaadi
Copy link

MustafizSaadi commented Apr 23, 2024

What you are doing?

Trying to apply the migration to postgres database with following CLI command:

npx sequelize-cli-ts-js db:migrate

What do you expect to happen?

I want the migration to be applied

What is actually happening?

But getting this:
Sequelize CLI [Node: 21.7.2, CLI: 1.1.2, ORM: 6.37.3]

Loaded configuration file "config\config.json".
Using environment "development".
== 20240423122504-create-item: migrating =======

ERROR: Unexpected token 'export'

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

1 participant