I\'m trying to use sequelize and sqlite with electron in a desktop application but get the following error when running the app via npm start
(which runs node
If you can run $npm list sqlite3
and you get a response like...
MyAppName@0.0.1 /path/to/MyApp
└── sqlite3@3.0.10
Then the problem is likely that sqlite3 doesn't work in Electron (without some coercing) and Sequelize doesn't know how to express the error.
See this blog post to get sqlite3 working in Electron. This should fix your issue with Sequelize.