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

ES Module #17

Open
hauzdigital opened this issue Nov 21, 2023 · 1 comment
Open

ES Module #17

hauzdigital opened this issue Nov 21, 2023 · 1 comment

Comments

@hauzdigital
Copy link

Trying to use directus-migrator into Digital Ocean App, through the console, after installs, config and firing the script, I get the follow error:

image

@svex99
Copy link

svex99 commented Dec 24, 2023

Same error here, you can update your package.json to run the command, change the type from module to commonjs.

I did this and the script ran, but it didn't migrate any flow, not sure if it is related to this issue, please let me know if it works for you.

My command was npx directus-migrator -s dev -t prod --flows and I ran it in the root of a SvelteKit project.

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

2 participants