ibmdb / vscode-extension

vscode extenstion for db2 as db2connect
7 stars 2 forks source link

extension does not work on rhel8 #45

Closed gszoeke closed 2 years ago

gszoeke commented 2 years ago

Steps to Reproduce:

Install db2 extension and try use it. Debug output :

.... Downloading and extraction of node ibm_db Driver completed successfully...

Successfully renamed the directory. Using the existing CLI Driver /home/johndoe/sqllib Extraction of build.zip completed successfully...

Error: ENOENT: no such file or directory, rename '/home/johndoe/.vscode/extensions/ibm.db2connect-2.3.0/node_modules/ibm_db/build/Release/odbc_bindings_linux_17.node' -> '/home/johndoe/.vscode/extensions/ibm.db2connect-2.3.0/node_modules/ibm_db/build/Release/odbc_bindings.node'


As it looks the extension expects node.js which can handle electron 17

image

bimalkjha commented 2 years ago

@gszoeke Rebuild the native module or go for fresh installation. It should work now. We have added support for electron 17 and electron 18 on Linux. Please update here about the result. Thanks.