Open adnanchang opened 5 years ago
I have the same problem. Any updates?
Hi! It sounds like you normally use Babel or something to build your js. The file you used to import, but now require in your migration file, could you please verify that that file does not contain imports / export default directly or indirectly in nested requires?
Hi, But it contains ES6 modules like in examples from the readme.
Hi,
So I setup everything, including a
migrate.json
file and created the migration using:On running the following command
I get the following error:
EDIT: Apparently, the error goes away when I dont use
import
but then when I userequire
it still doesnt work