I struggled with this issue on Ubuntu 20.04, node version 14.5.0 until when i came across sqlite3 npm documentation. Simply execute the following commands if you are on Ubuntu 20.04:
- sudo apt-get install libsqlite3-dev
- Navigate to your project directory and then execute npm i sqlite3