unable to install npm using azure azhlftool

vipin das 1 Reputation point
2021-08-29T11:01:25.037+00:00

I am following the tutorial in the link https://learn.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

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,254 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. António Sérgio Azevedo 7,666 Reputation points Microsoft Employee
    2021-08-30T08:23:33.737+00:00

    Hello @vipin das ,

    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.

    0 comments No comments