Closed MadsGosvig closed 1 year ago
I am facing the same issue, after the confirmation of changes the migration hangs. No error or aborting the script message is shown. I have tried to wait for more than 1 hour. In my case, nothing is reflected in the contentful as well.
Hi all. Any updates about this? Also run into this issue, weird that Mac beside works normally
We had faced this problem on Windows 10 cmd but we could run with no problems on Windows 10 Git Bash. I hope this helps!
We had faced this problem on Windows 10 cmd but we could run with no problems on Windows 10 Git Bash. I hope this helps!
This helped, thanks a lot. But only when running Git Bash on windows as standalone. When integrating the Git Bash as default shell in Visual Studio Code I still experience that the process just bogs down.
This ticket has been closed due to inactivity. If you still need help resolving your issue, please reach out through our community Slack, or contact Contentful support directly.
Expected Behavior
Migration run successfully.
Actual Behavior
Migration hangs after confirmation of changes
yes
parameter =false
.When I try to run the
01-angry-dog.js
migration on my space, the CLI gives the following output:When I press Y/Yes/Enter, I get the following message:
And then nothing happens. In Contentful the content model will remain in DRAFT status. I have tried to wait for up to 2 hours, but nothing happens.
When I use
true = yes
it works as expected.Steps to Reproduce
async function run() { const options = { spaceId: '',
accessToken: ',
environmentId: 'development',
};
try { await runMigration({ ...options, ...{ filePath: path.join(__dirname, '01-angry-dog.js') }, }); } catch (error) { console.log(error); throw error; } }
run().then(() => process.exit(0));