Instale o pacote mariadb manualmente

npm i  mysql2 mariadb
Thoughtless Toad