Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

113
Views
Use Node.js version 16 for chaincode execution

I'm running JavaScript/TypeScript chaincode from fabric-samples (asset-transfer-basic/chaincode-javascript) and I need the Node.js version to be 16 instead of 12.

I think that what is setting the Node.js version to 12.16.1 is the hyperledger/fabric-nodeenv image, but I don't know how can I change it. https://hub.docker.com/layers/fabric-nodeenv/hyperledger/fabric-nodeenv/2.4.1/images/sha256-53ec564ee28ed1fcee3be9ed1459bcc98a22fc0d81e5a707239425615641786a?context=explore

The documentation says that v2.4 modules use version 16.4.0 of Node.js and versions v2.2/2.3, 12.16.1. But I'm using the latest version of Fabric (2.4.2). https://github.com/hyperledger/fabric-chaincode-node/blob/main/COMPATIBILITY.md

I use ./network.sh deployCC to deploy the chaincode.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Solved it by creating and uploading an updated version of fabric-nodeenv image (https://github.com/hyperledger/fabric-chaincode-node/tree/main/docker/fabric-nodeenv) and defining the CORE_CHAINCODE_NODE_RUNTIME env var in fabric-samples/test-network/compose/compose-test-net.yaml

about 4 years ago · Juan Pablo Isaza Report

0

The official hyperledger/fabric-nodeenv docker image will be updated to use Node 16 in the upcoming v2.4.2. release.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!