Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: pnpm not found if running a goal which has a reference to other goals #1135

Open
Haarolean opened this issue Mar 8, 2024 · 0 comments

Comments

@Haarolean
Copy link

Hi,

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

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

@Haarolean 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
Haarolean added a commit to kafbat/kafka-ui that referenced this issue Mar 16, 2024
Haarolean added a commit to kafbat/kafka-ui that referenced this issue Mar 16, 2024
Haarolean added a commit to kafbat/kafka-ui that referenced this issue Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant