0

I am trying to put values into a table using sequelize. I installed sequelize-cli globally and I used the command sequelize seed:create --name my-seed-file to create seeders folders and I filled the file with the desired values.

When I use sequelize db:seed:all to run it gives me the following error

Sequelize CLI [Node: 8.7.0, CLI: 4.0.0, ORM: 4.33.4]

Loaded configuration file "config/config.json".
Using environment "development".

ERROR: Please install mysql2 package manually

What am I doing wrong?

1 Answers1

0

You can try to install it:

npm install mysql2 --save

If it doesn't work for you, you can try this answer

Idan Dagan
  • 6,637
  • 3
  • 26
  • 37