diff --git a/bin/compile b/bin/compile index aab5d0957..b4657adcb 100755 --- a/bin/compile +++ b/bin/compile @@ -60,7 +60,7 @@ fi # install dependencies with npm echo "-----> Installing dependencies with npm $NPM_VERSION" cd $BUILD_DIR -HOME="$BUILD_DIR" $VENDORED_NODE/node $VENDORED_NPM/cli.js install 2>&1 | sed -u 's/^/ /' +HOME="$BUILD_DIR" $VENDORED_NODE/bin/node $VENDORED_NPM/cli.js install 2>&1 | sed -u 's/^/ /' if [ "${PIPESTATUS[*]}" != "0 0" ]; then echo " ! Failed to install dependencies with npm" exit 1