Closed alexsvt2 closed 3 years ago
Can you share your actionhero project? It looks like you didn't compile your src
to dist
... but that shouldn't be required either. Are all your import statement referencing relative files (no src or dist)?
Hello, I was reading the tutorial in this part. (see screenshot)
Here is the repository https://github.com/alexsvt2/actionhero-crud if you want see if everything is ok
and in the sequelizeConfig, they refer to a file located into dist, but I changed the code according to your commentary
now is
const sequelizeConfig = require("./src/config/sequelize.js");
instead of
const sequelizeConfig = require("./dist/config/sequelize.js");
And now it is working. I appreciate your help.
Ah! Thanks!
I'll update the readme a bit https://github.com/actionhero/ah-sequelize-plugin/pull/367
Hi, I followed the guide to config the sequelize-cli, and after making a migration actionhero crash
(the file sequelize.js doesn't exist into dist/config) but I'm not sure how to make this work.
this is the error
This is the project directory