I am getting an error "npm: command not found" when running npm install, even though node-js was installed in the first build step.
I am using TeamCity Professional 2021.1.1 (build 92714)
The error:
[npm install] /opt/buildagent/temp/agentTmp/wrapper157115028716706048.sh: line 2: npm: command not found
[Step 2/6] Process exited with code 127
More context:

I am getting an error "npm: command not found" when running npm install, even though node-js was installed in the first build step.
I am using TeamCity Professional 2021.1.1 (build 92714)
The error:
More context: