-
Notifications
You must be signed in to change notification settings - Fork 150
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
Error: getaddrinfo ENOTFOUND public.dhe.ibm.com #950
Comments
@abinayaa-r Please share output of command |
Also, share complete output of |
If I give npm i ibm_db, I didn't get any error. If i give npm start getting below error, (complete output) Uncaught Error: Could not locate the bindings file. Tried: If if give npm install inside that directory then I am getting below error: ( i have also tried with newer version still same error) → C:\Users\FirstProject\node_modules\ibm_db>npm install
Downloading DB2 ODBC CLI Driver from Error: getaddrinfo ENOTFOUND public.dhe.ibm.com added 107 packages, and audited 108 packages in 1m 4 packages are looking for funding 2 moderate severity vulnerabilities Some issues need review, and may require choosing a different dependency. Run |
@abinayaa-r The problem is, IBM site
If still getting issue, then |
Before I have tried with new version.. Ok let me try again and will inform you. Thank you @bimalkjha |
@abinayaa-r The file https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ntx64_odbc_cli.zip is also available now and npm install should work fine now. But still update the ibm_db to latest. Thanks. |
I am currently working on a node.js application using ibm_db. But while installation of ibm_db using npm install ibm_db, I didn't get any error. But if I start server using npm start then I am getting below error.
Error: Could not locate the bindings file. Tried:
→C:\Users\FirstProject\node_modules\ibm_db\build\odbc_bindings.node
→ C:\Users\FirstProject\node_modules\ibm_db\build\Debug\odbc_bindings.node
→ C:\Users\FirstProject\node_modules\ibm_db\build\Release\odbc_bindings.node
I can see build is available as Zipped folder inside node_modules/ibm_db but its not unzipped (I didn't find any unzipped build folder). So tried navigating into nodemodule/ibm_db and i run the npm install command but getting the below error.
**> node installer/driverInstall.js
Downloading DB2 ODBC CLI Driver from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ntx64_odbc_cli.zip...
Error: getaddrinfo ENOTFOUND public.dhe.ibm.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26){
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'public.dhe.ibm.com'
}**
So i have also tried installing older version but I am facing the same error. Please help me in this regard to resolve it. Thank you.
The text was updated successfully, but these errors were encountered: