You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a goal within package.json contains a reference to another (p)npm goal (like "test2": "pnpm build && pnpm test") the build fails with sh: 1: pnpm: not found:
[INFO] [INFO] > example@0.0.1 test2
[INFO] [INFO] > pnpm build && pnpm test
[INFO] [INFO]
[INFO] [INFO] /tmp/test2-12410452.sh: 1: pnpm: not found
The text was updated successfully, but these errors were encountered:
Haarolean
changed the title
pnpm not found if running a goal which has a reference to other goals
Bug: pnpm not found if running a goal which has a reference to other goals
Mar 15, 2024
Hi,
If a goal within
package.json
contains a reference to another (p)npm goal (like"test2": "pnpm build && pnpm test"
) the build fails withsh: 1: pnpm: not found
:Here's a test repo demonstrating the issue: https://github.com/Haarolean/frontend-maven-plugin
And here's a workflow run: https://github.com/Haarolean/frontend-maven-plugin/actions/runs/8206166129
The text was updated successfully, but these errors were encountered: