-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Cannot show any migrations using cli #9769
Comments
Also reported as issue #9785? May only occur when running on Windows machines? I'm able to work around by executing migration commands inside a Docker container. |
Could be related to update of |
@cduff I'm also getting the same issue. Could you please help to resolve this issue asap? I'm using the latest TypeOrm version: ^0.3.12 |
The issue is in the way TypeORM calls Check the changelog for glob 8.1.0, they made a workaround to allow v7 behavior to continue working. I also made a quick fix for jorgebodega/typeorm-seeding#184 (in a slightly different way). |
I'm migrating a project from typeorm 0.2 to 0.3 and started facing the same issue here. |
While the problem is not solved, revert your version to 0.3.11. Actually working perfectlly. |
Duplicate of #9766 |
@Mauro-Domingues Could you please share the example application with this change? Because I have tried the suggested change and it's not working. Also, if possible, could you please share your package.json and data-source.ts file? |
The issue is in the 0.3.12 version , reverting to 0.3.11 working as per expected |
@darwinsubramaniam I have tried this, but it's not working as expected. Now I'm not getting any error, but not getting anything either on running the command. If possible, could you please share your package.json and data-source.ts files? |
Is this fixed ? I am facing issues in v0.3.20 |
i can assure v0.3.15 is working correctly, i am currently on that version since they solved this. |
Also working correctly in 0.3.20. This issue should've been closed already (it was introduced by the @sujesh-t I would open a new ticket with some reproducible example. |
Issue description
yarn typeorm migration:show -d ./src/data-sources.ts won't show anything
Expected Behavior
It should show me a list of migrations
Actual Behavior
doesn't show me any of the migrations i have generated
Steps to reproduce
From empty folder.. follow the instructions in the quickstart guide.. Except I used mysql and yarn.
Run
yarn typeorm migration:generate -d .\src\data-source.ts init
move the created migration file to migration folder
change data-source to following.
Then run migration:show
yarn typeorm migration:show -d .\src\data-source.ts
It shows nothing..
My Environment
Also.. my mysql environment is on aws using aurora-mysql
Additional Context
No response
Relevant Database Driver(s)
Are you willing to resolve this issue by submitting a Pull Request?
No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
The text was updated successfully, but these errors were encountered: