xdenser / node-firebird-libfbclient

Firebird SQL binding
MIT License
82 stars 34 forks source link

not found module binding.node #100

Open crisgol opened 4 years ago

crisgol commented 4 years ago

var binding = require("./build/Release/binding"); error not found module build\Release\binding.node

windows 10 nodejs v12.16.0

node-gyp configure node-gyp build

Compilando os projetos desta solução um por vez. Para habilitar o build paralelo, adicione a opção "-m". fb-bindings.cc fb-bindings-blob.cc fb-bindings-fbresult.cc fb-bindings-connection.cc fb-bindings-eventblock.cc fb-bindings-fbeventemitter.cc fb-bindings-statement.cc fb-bindings-transaction.cc win_delay_load_hook.cc Criando biblioteca D:\dbfb\node-firebird-libfbclient\build\Release\binding.lib e objeto D:\dbfb\node-firebird-libfbclient\build\Release\binding.exp binding.vcxproj -> D:\dbfb\node-firebird-libfbclient\build\Release\binding.node gyp info ok

SaleGajic commented 4 years ago

I've got this error, and switched to the another library. The other library gave me clearer message, that fbclient.dll is missing. I copied that file from root of firebird installation to the system32 and SysWOW64 and it solved problem in both libraries. I hope it will help you too.

crisgol commented 4 years ago

could you tell which other library? thanks

SaleGajic commented 4 years ago

This one. https://www.npmjs.com/package/node-firebird-driver-native But in the end I switched back to using this library, and I managed to do everything I needed with Firebird with it. Although I had hard time finding any documentation and examples.