diff --git a/package.json b/package.json index 13db380f0..3c9211e15 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "test": "npm run lint && node ./node_modules/cucumber/bin/cucumber.js features/ -p verify && node ./node_modules/cucumber/bin/cucumber.js features/ -p mld", "clean": "rm -rf test/cache", "docs": "./scripts/build_api_docs.sh", - "install": "node-pre-gyp install --fallback-to-build=false", + "install": "node-pre-gyp install --fallback-to-build=false || ./scripts/node_install.sh", "nodejs-tests": "make -C test/data && ./lib/binding/osrm-datastore test/data/ch/monaco.osrm && node test/nodejs/index.js | faucet" }, "repository": {