Closed riadfrancoq closed 4 months ago
npx sequelize-auto -o "./src/models" -l es6 -d pruebaNode -h localhost -u root -p 3306 -x 123456 -e mysql --mjs I am trying to use imports and exports but when i put this command it uses require
npx sequelize-auto -o "./src/models" -l es6 -d pruebaNode -h localhost -u root -p 3306 -x 123456 -e mysql --mjs
also i am using it without the npx
I just fix it xd, but i dont know why in the other occasions it doesn't work, who knows ?
npx sequelize-auto -o "./src/models" -l es6 -d pruebaNode -h localhost -u root -p 3306 -x 123456 -e mysql --mjs
I am trying to use imports and exports but when i put this command it uses require