Header

Troubleshooting build command issues

Command not found

If you're fetching specific tools to run on your code, you'll need to ensure the appropriate executable directory is added to your local PATH. Adding a simple command to your build process should allow the build to find the correct executable.

For example, if you're using npm install to retrive a specific tool, just add your node_modules/bin directory to your PATH, like so:

PATH=$PATH:/data/node_modules/.bin

Anything you then fetch with npm install can be executed directly.