Open hauzdigital opened 10 months ago
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.
Trying to use directus-migrator into Digital Ocean App, through the console, after installs, config and firing the script, I get the follow error: