urbica / galton

Lightweight Node.js isochrone map server
https://galton.urbica.co
MIT License
271 stars 36 forks source link

Build failure on Windows 7 x64 #208

Closed A-lekse-J closed 5 years ago

A-lekse-J commented 6 years ago

Hello. Could you help me, please? When I try to install galton on my Windows 7 x64, occurs the following problem:

Microsoft Windows [Version 6.1.7601] (c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.

C:\Users\Maqro>node -v v8.11.2

C:\Users\Maqro>npm -v 5.6.0

C:\Users\Maqro>cd example

C:\Users\Maqro\example>git clone https://github.com/urbica/galton.git Cloning into 'galton'... remote: Counting objects: 1350, done. remote: Compressing objects: 100% (7/7), done. remote: Total 1350 (delta 1), reused 1 (delta 0), pack-reused 1343 Receiving objects: 100% (1350/1350), 2.09 MiB | 700.00 KiB/s, done. Resolving deltas: 100% (803/803), done.

C:\Users\Maqro\example>cd galton

C:\Users\Maqro\example\galton>npm install npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.

osrm@5.18.0 install C:\Users\Maqro\example\galton\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.18.0/Release/node-v57-win32-x64.tar.gz node-pre-gyp ERR! stack at Request. (C:\Users\Maqro\example\galton\node_modules\osrm\node_modules\node-pre-gyp\lib\install.js:118:27) node-pre-gyp ERR! stack at emitOne (events.js:121:20) node-pre-gyp ERR! stack at Request.emit (events.js:211:7) node-pre-gyp ERR! stack at Request.onRequestResponse (C:\Users\Maqro\example\galton\node_modules\osrm\node_modules\request\request.js:1074:10) node-pre-gyp ERR! stack at emitOne (events.js:116:13) node-pre-gyp ERR! stack at ClientRequest.emit (events.js:211:7) node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:543:21) node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:112:17) node-pre-gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:440:20) node-pre-gyp ERR! stack at emitOne (events.js:116:13) node-pre-gyp ERR! System Windows_NT 6.1.7601 node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Maqro\example\galton\node_modules\osrm\node_modules\node-pre-gyp\bin\node-pre-gyp" "in stall" "--fallback-to-build=false" node-pre-gyp ERR! cwd C:\Users\Maqro\example\galton\node_modules\osrm node-pre-gyp ERR! node -v v8.11.2 node-pre-gyp ERR! node-pre-gyp -v v0.6.38 node-pre-gyp ERR! not ok 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/osrm/v5.18.0/Release/node-v57-win32-x64.tar.gz "." не является внутренней или внешней командой, исполняемой программой или пакетным файлом. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! osrm@5.18.0 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.18.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Maqro\AppData\Roaming\npm-cache_logs\2018-05-19T06_19_20_985Z-debug.log

C:\Users\Maqro\example\galton>

How can I solve this problem? Thanks a lot in advance!

stepankuzmin commented 5 years ago

Duplicates https://github.com/urbica/galton/issues/194