maptiler / tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
https://tileserver.readthedocs.io/en/latest/
Other
2.24k stars 639 forks source link

proplem with the instalition #551

Open Kobrairaq opened 3 years ago

Kobrairaq commented 3 years ago

when i try install tileserver-gl with the npm i get this error Failed at the @mapbox/mapbox-gl-native@5.0.2 install script ?

ferdicus commented 3 years ago

make sure you're using node version 10.x as described in the readme

ThiefMaster commented 3 years ago

That version is EOL...

melatonein5 commented 3 years ago

I've had problems with installation. This seems to work:

Install the following pre-reqs sudo apt install nodejs npm build-essential libcairo2-dev libprotobuf-dev libegl1-mesa

npm needs and update before tileserver-gl can be installed

sudo npm install -g npm@latest

Install tileserver-gl

sudo npm install -g tileserver-gl

Run tileserver-gl

tileserver-gl <PATH_TO_MAP>