Skip to main content
Inspiring
June 13, 2019
Question

SQLite3

  • June 13, 2019
  • 0 replies
  • 401 views

Hello,

I try to install sqlite3 via npm. Everything is OK.

But when I try to use it, I've got an error : Cannot find module '...\node_modules\sqlite3\lib\binding\node-v51-win32-x64\node_sqlite3.node'

In fact when I use npm to install the module, it create a folder named "node-v64-win32-x64" but when I run an example, my application search in "node-v51-win32-x64" folder.

Is it possible to change/modify name folder during installation process ?

Otherwise, do you have a solution to use an SQLite database (SQLite, SQLite3, better-sqlite3...) ?

I search for examples but I found nothing.

Any help will be great !

Thanks

This topic has been closed for replies.