How to fix NPM install SQLite build fail? How to fix NPM install SQLite build fail? sqlite sqlite

How to fix NPM install SQLite build fail?


From the Readme . The sqlite3 module works with Node.js v4.x, v6.x, v8.x, and v10.x. . You should downgrade to Node v10 until this module has certified support for Node v12.

EDIT: Per below comments, Node v11 and v12 are supported now:October 2020 - Update

"The sqlite3 module works with Node.js v4.x, v6.x, v8.x, v10.x, v11.x and v12.x" - Source - https://www.npmjs.com/package/sqlite3/v/4.1.1


From the version 4.1.1 https://github.com/mapbox/node-sqlite3/releases/tag/v4.1.1, the sqlite3 should support Node.JS v12 and v13.

So please take a look at the packages that depend on sqlite3 to install the updated version.


October 2020 - Update

"The sqlite3 module works with Node.js v4.x, v6.x, v8.x, v10.x, v11.x and v12.x" - Source - https://www.npmjs.com/package/sqlite3/v/4.1.1