question

vipindas-1919 avatar image
0 Votes"
vipindas-1919 asked asergaz answered

unable to install npm using azure azhlftool

I am following the tutorial in the link https://docs.microsoft.com/en-us/azure/blockchain/templates/hyperledger-fabric-consortium-azure-kubernetes-service for deploying hlf on azure. However i am getting an error when i try to execute the following command

vipin@Azure:~/azhlfTool$ npm install

azhlf@1.0.0 postinstall /home/vipin/azhlfTool
tsc ./FabricUtils/UtilsDownloader.ts && node ./FabricUtils/UtilsDownloader.js

sh: 1: tsc: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! azhlf@1.0.0 postinstall: tsc ./FabricUtils/UtilsDownloader.ts && node ./FabricUtils/UtilsDownloader.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the azhlf@1.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/vipin/.npm/_logs/2021-08-29T10_57_19_682Z-debug.log


What is going wrong here. How can i address this issue

azure-blockchain-service
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

asergaz avatar image
0 Votes"
asergaz answered

Hello @vipindas-1919 ,

The Hyperledger Fabric template was built to support HLF 1.4 version, as Hyperledger open source community is not supporting this version anymore, we have discontinued the template. There are alternative template solutions provided by our partners to deploy HLF 2.2 version which is the current LTS version. Please explore the partner solutions in Azure Market Place.

Thank you so much for understanding.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.