Open goodhoko opened 6 years ago
So, I've tried to install this package on ubuntu machine with mapnik installed and it installed ok. However when trying to use the command line binary it throws this:
root@f97998cc2900:/home/renderer/src/openstreetmap-carto# geojson-mapnikify
module.js:549
throw err;
^
Error: Cannot find module '/usr/local/lib/node_modules/@mapbox/geojson-mapnikify/node_modules/mapnik/lib/binding/mapnik_settings.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/@mapbox/geojson-mapnikify/node_modules/mapnik/lib/mapnik.js:8:16)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
Same problem here trying to install it on Mac. Node version 10.9.0
and npm version 6.4.0
.
I'm unable to install this package on my windows 10 machine. Here's the log after running simply
npm install -g @mapbox/geojson-mapnikify
I guess it's the same problem as when trying to run this package on RunKit: which also fails.