Project-OSRM / node-osrm

DEPRECATED Part of osrm-backend since 5.7. NodeJS bindings for OSRM
BSD 2-Clause "Simplified" License
141 stars 48 forks source link

Installation issues with node v4.2.6, npm v3.5.2 #305

Closed daniel-j-h closed 7 years ago

daniel-j-h commented 7 years ago

@springmeyer tracking here to not lose sight of it.

I can see the following installation error for npm install osrm:

https://gist.github.com/anonymous/b1fed5f7116b3626bc367f5fc75f3f1f#file-log-txt-L12839-L12869

With the OSGeo default v4.2.6 and npm v3.5.2 versions. Updating via nvm to latest v4 solve the issue.

To reproduce grab the image at https://live.osgeo.org/en/download.html and run with

qemu-system-x86_64 -cdrom osgeo-live-10.0-amd64.iso -m 4096 -enable-kvm -boot d
springmeyer commented 7 years ago

@daniel-j-h per chat I think you should try bundling node-pre-gyp and see if that solves the issue. I've just added details to the node-pre-gyp readme on bundling. Can you take a look at https://github.com/mapbox/node-pre-gyp#1-add-new-entries-to-your-packagejson and: 1) see if bundling solves the problem, 2) review those docs or any missing details you see

daniel-j-h commented 7 years ago

We do this in the backend now. Closing here.