Skip to content

`pnpm` not installed at the right time

Describe the bug

pnpm is not installed at the right time, creating a failure when we use it before installation.

Expected behavior

pnpm commands should work all the way.

Actual behavior

This exact line could fail as pnpm could not be yet installed.

Logs and/or screenshots

(Join any relevant logs and/or screenshot. Please use code blocks (```) to format console output, logs, and code.)

$ if [[ "$config_registry" ]]; then $NODE_MANAGER config set registry $config_registry; fi
/scripts-275000-111777139/step_script: line 658: pnpm: command not found

Context & Configuration

Link to a project, pipeline or job facing the bug: internal but the failing job has been shared in an internal chat.

The issue was reproduced using:

  • Version of the template: 3.10.1
Edited by Tangui Didailler