You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I love your work!.
I've been developing with the structure of yours, and now when I try to publish on production level, it's not working great.
So I'm builinng one for netlify using netlify-on-next, and it keeps giving me errors about
Error: Please install mysql2 package manually
after build. I wonder how you fixed it when you were building it.
The text was updated successfully, but these errors were encountered:
I am very late but you can specifythe dialect module:
const sequelize = new Sequelize(config.db.database, config.db.user, config.db.password, {
host: config.host,
dialect:'mysql',
dialectModule: require('mysql2'),
});
Hi, I love your work!.
I've been developing with the structure of yours, and now when I try to publish on production level, it's not working great.
So I'm builinng one for netlify using netlify-on-next, and it keeps giving me errors about
Error: Please install mysql2 package manually
after build. I wonder how you fixed it when you were building it.
The text was updated successfully, but these errors were encountered: