Hello @gaston.e.coria and welcome to the community
This can be happen if TypeScript modules are not set to “commonjs”, and are set to “esnext” instead.
Could you try and replace it in your typescript configuration file, re-run npm install, and re-try the migration?
Let me know if it works