Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not found module binding.node #100

Open
crisgol opened this issue Feb 18, 2020 · 3 comments
Open

not found module binding.node #100

crisgol opened this issue Feb 18, 2020 · 3 comments

Comments

@crisgol
Copy link

crisgol commented Feb 18, 2020

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

@crisgol crisgol changed the title not found modeul binding.node not found module binding.node Feb 18, 2020
@SaleGajic
Copy link

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
Copy link
Author

crisgol commented Feb 26, 2020

could you tell which other library?
thanks

@SaleGajic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants