To make my life easier (and because I hate writing SQL statements), I thought of installing an ORM. After some search, I've decided to use knex. Unfortunately, the moment I integrated it into my app, webpack started generating errors like:
ERROR in ./~/knex/lib/dialects/maria/index.js