Wednesday, 24 May 2017

problems creating extension for vscode using sqlite3

I was trying to contribute to a extension that allow some basic db operations within vscode (vscode-database)

What I was trying to do is add support to sqlite, but when I try to debug I can't get it to work because of the node module of sqlite3 (if I'm not mistaken)

When I try to debug the extension it shows this message " Cannot find module 'c:\Users\Rafael\workspace\nodespace\vscode-database\node_modules\sqlite3\lib\binding\node-v53-win32-ia32\node_sqlite3.node."

When I search for this folder in the extension project I only got this folder "node-v48-win32-x64"

I read that for electron applications you need to be careful with these modules, but so far, building from source didnt work and I couldnt set proper parameters to achieve this version it asks

https://github.com/mapbox/node-sqlite3/ here there's some options to build, but the only ones that worked for me was build-from-source --runtime=electron --target_arch=ia32 --target=1.6.2

But what I get is a folder like "electron-v1.6-...."



via user3426877

No comments:

Post a Comment