Skip to content

npm: command not found after node.js was installed #186

Description

@Bluejanis

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:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions