I am a newbie to Azure and developing an nodejs application that interacts with some java class. I'm using node-java
module to implement it. Everything worked well in the local but when I try to deploy my changes on Azure, the pipeline has an exception while executing npm install
.
Problem
The error happens while executing node-gyp rebuild
so, the postInstall for node-java
is failing.
Solution I've got the solution that I need to downgrade the python version to 2.x.
Question I'm not sure how to downgrade the package on Azure DevOps?
I've attached a screenshot for your reference,
Any help much appreciated!