Using NPM in Jazz Hub
Running into a “command not found” error when trying to install and then run an npm module in your Jazz Hub build script?
You’re seeing this error because the npm modules installed locally are not part of the Jenkins user’s PATH variable (Jazz Hub Pipeline is a wrapper around Jenkins CI).
I ran into this error attempting to kick off a gulp build. Here’s how I added my local node modules binaries to the build path:
Happy building!