Skip to content
Discussions/App Development/What is the recommended nodejs version for daml-ledger version 0.9.1?Forum ↗

What is the recommended nodejs version for daml-ledger version 0.9.1?

App Development4 posts488 views7 likesLast activity Apr 2021
NA
nandansvOP
Oct 2020

Hi,
I am trying to connect to daml-ledger using version 0.9.1.
nodejs : 12.19.0
grpc : 1.20.2
This combination is giving me :point_down: error.

Previously, i’ve had node version 10.22.0 , it was working fine.
I’ve upgraded my nodejs version to 12.19.0 and i found an error while installing @digitalasset/daml-ledger .
This error was related to incompatible version b/w nodejs(10.22) and grpc(1.18.0). So, i’ve upgraded only grpc client and @digitalasset/daml-ledger module got installed properly but seems like its missing few script files in grpc@1.20.2 as per my initial analysis.
Could anyone please help !!!

Thanks,
Nandan

CO
cocreature
Oct 2020

Hi @nandansv,

Version 0.9.1 of daml-ledger only supports NodeJS 10. However, the latest version 0.11.0 supports NodeJS 12. I would recommend upgrading to that.

NA
nandansv
Oct 2020

Sure Thanks @cocreature.

VI
victoriacooper
Apr 2021

The latest version that is available to us is 0.11.0 supports NodeJS 12. That is the version i would recommand to upgrading latest Version.

← Back to Discussions