"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.2k
stars
868
forks
source link
Bug: pnpm not found if running a goal which has a reference to other goals #1135
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
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