Mhh…currently running into an issue with a self-hosted build agent where the Node.js tool installer
task installs v16
and adds it to the PATH
but still in the next task node v10
is being used. Any ideas why that is?
2024-06-06T08:32:43.3320131Z ##[debug]new Path: C:\azureagent\agent\_work\_tool\node\16.20.2\x64;C:\azureagent\agent\externals\git\cmd;C:....
...
2024-06-06T08:32:43.5450467Z ##[debug]Using node path: C:\azureagent\agent\externals\node10\bin\node.exe
2024-06-06T08:32:44.0886694Z ##[debug]agent.TempDirectory=C:\azureagent\agent\_work\_temp
2024-06-06T08:32:44.1909383Z ##[debug]loading inputs and endpoints```