ibmdb / node-ibm_db

IBM DB2 and IBM Informix bindings for node
MIT License
188 stars 151 forks source link

outdate library dependency with grpc@1.24.9 #855

Closed dilas12345 closed 2 years ago

dilas12345 commented 2 years ago

Hi,

I have been trying to install the the node-ibm_db library but for some reasons it kept flagging an error with grpc@1.24.9 deprication and and need some upgrade to @grpc/grpc-js.

This is causing a lot of issues with the library insallation using "npm install ibm_db Screenshot from 2022-05-24 18-04-26 "

bimalkjha commented 2 years ago

@dilas12345 What is your node.js version and Operating System name on which you are trying to install ibm_db? Thanks.

dilas12345 commented 2 years ago

My Operating system version is Ubuntu 20.04 and node version V16.15.0

On Wed, May 25, 2022 at 5:33 AM Bimal Kumar Jha @.***> wrote:

@dilas12345 https://github.com/dilas12345 What is your node.js version and Operating System name on which you are trying to install ibm_db? Thanks.

— Reply to this email directly, view it on GitHub https://github.com/ibmdb/node-ibm_db/issues/855#issuecomment-1137016600, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWOI4SKQMSU2ZHZ42XH5BDVLXXXTANCNFSM5W3ASOBA . You are receiving this because you were mentioned.Message ID: @.***>

bimalkjha commented 2 years ago

@dilas12345 The error that you are facing is not due to deprecation warning of code-js or grpc. But it is due to npm fails to login due to incorrect or missing output. npm gives warning about grpc and not the error. If you have registered on npmjs.org, just run "npm login" and provide the correct password, that should resolve the issue.

Regarding installation on Ubuntu, I tried installing and it installs without any error. Please see the below results:

bjha@waldevdbcttst07: bjha/nodework/installed> cat /etc/issue
Ubuntu 20.04 LTS \n \l

bjha@waldevdbcttst07: bjha/nodework/installed> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal
bjha@waldevdbcttst07: bjha/nodework/installed> npm install ibm_db

added 60 packages, and audited 61 packages in 13s

3 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Please check the log file under /home/dilas/.npm/_logs/ for more details. Thanks.

bimalkjha commented 2 years ago

@dilas12345 Can we close this issue as it is not related with ibm_db but your npm credential? Are you still facing this issue? Thanks.

dilas12345 commented 2 years ago

Yes, please do.

On Wed, Jun 1, 2022 at 2:04 AM Bimal Kumar Jha @.***> wrote:

@dilas12345 https://github.com/dilas12345 Can we close this issue as it is not related with ibm_db but your npm credential? Are you still facing this issue? Thanks.

— Reply to this email directly, view it on GitHub https://github.com/ibmdb/node-ibm_db/issues/855#issuecomment-1143152661, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWOI4X3SLC57AQJPPXLVY3VM34QLANCNFSM5W3ASOBA . You are receiving this because you were mentioned.Message ID: @.***>

dilas12345 commented 1 year ago

Thank you for your response.

But i doubt if its the login issue that is causing the issue, cause i have logged Into my npm via terminal and tried again but it still not installing, sending the same error message.

thanks

On Wed, May 25, 2022 at 7:59 PM Bimal Kumar Jha @.***> wrote:

@dilas12345 https://github.com/dilas12345 The error that you are facing is not due to deprecation warning of code-js or grpc. But it is due to npm fails to login due to incorrect or missing output. npm gives warning about grpc and not the error. If you have registered on npmjs.org, just run "npm login" and provide the correct password, that should resolve the issue.

Regarding installation on Ubuntu, I tried installing and it installs without any error. Please see the below results:

@.***: bjha/nodework/installed> cat /etc/issue Ubuntu 20.04 LTS \n \l

@.: bjha/nodework/installed> lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal @.: bjha/nodework/installed> npm install ibm_db

added 60 packages, and audited 61 packages in 13s

3 packages are looking for funding run npm fund for details

found 0 vulnerabilities

Please check the log file under /home/dilas/.npm/_logs/ for more details. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/ibmdb/node-ibm_db/issues/855#issuecomment-1137992684, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWOI4VVBMK2QPVD62T4CC3VL25FFANCNFSM5W3ASOBA . You are receiving this because you were mentioned.Message ID: @.***>