I'm trying to create a sample app, using this article:
https://arjunphp.com/restful-api-using-async-await-node-express-sequelize/
But when a try to execute database migration with sequenze-cli on sqlite, a have always the same error:
C:\WORKING\todo\todos-manager>sequelize db:migrate
Sequelize CLI [Node: 10.16.0, CLI: 5.5.0, ORM: 5.8.12]
Loaded configuration file "config\config.json".
Using environment "development".
ERROR: Please install sqlite3 package manually
I've already tried to rebuild, with no success.
Any ideas?
First install sequelize-cli globally
sudo npm install -g sequelize-cli
Then use the following command to execute migrations.
sequelize db:migrate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With