Answer the question
In order to leave comments, you need to log in
How to properly build sqlite3 under node-webkit?
You need to work with an external database file, to work with it, connect the sqlite3 module of the node, to do this, rebuild NW.
I didn’t try everything to build sqlite3 under node-webkit... I
basically followed the instructions www.technerium.ru/nwjs/vklyuchenie-sqlite3-v-proek...
At the last step, when building sqlite3, a bunch of errors fly out
npm install sqlite3 --build-from-source
node_modules\sqlite3\lib\binding\node-webkit-v0.28.0-win32-x64\node_sqlite3.node
node_modules\sqlite3\lib\binding\node-v57-win32-x64\node_sqlite3.node
Answer the question
In order to leave comments, you need to log in
Accidentally found better-sqlite3 which is much faster than just sqlite3. The Troubleshooting installation
instruction was also attached there (what to do in case of errors during installation), thanks to it, everything was successfully assembled.
There were several problems:
1) python 3.x version, when only 2.x is supported.
2) There was no Visual Studio 2015 (there were 2008, 2010, 2013, 2017), but 2015 was needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question