Error: 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/osrm/v5.14.3/Release/node-v51-linux-x64.tar.gz
See original GitHub issueHi all,
when I try to install it, gives me this error:
npm WARN deprecated @turf/inside@3.14.0: Module has been renamed to @turf/boolean-point-in-polygon
osrm@5.14.3 install /usr/lib/node_modules/osrm-isochrone/node_modules/osrm node-pre-gyp install --fallback-to-build=false || ./scripts/node_install.sh
node-pre-gyp ERR! install error node-pre-gyp ERR! stack Error: 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/osrm/v5.14.3/Release/node-v51-linux-x64.tar.gz node-pre-gyp ERR! stack at Request.<anonymous> (/usr/lib/node_modules/osrm-isochrone/node_modules/osrm/node_modules/node-pre-gyp/lib/install.js:118:27) node-pre-gyp ERR! stack at emitOne (events.js:101:20) node-pre-gyp ERR! stack at Request.emit (events.js:191:7) node-pre-gyp ERR! stack at Request.onRequestResponse (/usr/lib/node_modules/osrm-isochrone/node_modules/osrm/node_modules/request/request.js:1074:10) node-pre-gyp ERR! stack at emitOne (events.js:96:13) node-pre-gyp ERR! stack at ClientRequest.emit (events.js:191:7) node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:522:21) node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23) node-pre-gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:411:20) node-pre-gyp ERR! stack at emitOne (events.js:96:13) node-pre-gyp ERR! System Linux 4.4.0-51-generic node-pre-gyp ERR! command “/usr/bin/nodejs” “/usr/lib/node_modules/osrm-isochrone/node_modules/osrm/node_modules/.bin/node-pre-gyp” “install” “–fallback-to-build=false” node-pre-gyp ERR! cwd /usr/lib/node_modules/osrm-isochrone/node_modules/osrm node-pre-gyp ERR! node -v v7.10.1 node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/osrm/v5.14.3/Release/node-v51-linux-x64.tar.gz /usr/lib/node_modules/osrm-isochrone/node_modules/osrm/build /usr/lib/node_modules/osrm-isochrone/node_modules/osrm CMake Error: The source directory “/usr/lib/node_modules/osrm-isochrone/node_modules/osrm” does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. /usr/lib └── (empty)
npm ERR! Linux 4.4.0-51-generic npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “install” “-g” “osrm-isochrone” npm ERR! node v7.10.1 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1
npm ERR! osrm@5.14.3 install: node-pre-gyp install --fallback-to-build=false || ./scripts/node_install.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the osrm@5.14.3 install script ‘node-pre-gyp install --fallback-to-build=false || ./scripts/node_install.sh’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the osrm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build=false || ./scripts/node_install.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs osrm
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls osrm
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /root/.npm/_logs/2018-01-05T11_10_07_423Z-debug.log
Do you have any suggestion?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7

Top Related StackOverflow Question
According to https://github.com/Project-OSRM/osrm-backend/issues/4940#issuecomment-371180588:
“We do not yet support NodeJS 9.x, please downgrade to 8.x LTS.”
So switch to Node.js 8:
nvm install 8 && nvm use 8then retry.
Hi,I can’t install node v6.10.1 npm v3.10.10
like this: