Open jimbok8 opened 2 years ago
Are you using Node 10.x or 16.x? Can you tell which version of tilelive-vector
it's trying to install? (I'm trying to repro
The underlying problem is that the mapnik@3.5.14
(which is now old; 4.5.9 is current) dependency of tilelive-vector
doesn't have binaries for Node 16 on Windows (v93 = Node 16.x; see NODE_MODULE_VERSION
).
It looks like installing @mapbox/tilelive-vector
should work (where there's a 4.x that supports mapnik@4.5.9
), but then tilelive-xray
depends on the wrong module. I'll push a couple of fixes for this shortly.
I misspoke. Just installing tilelive-xray
(npm install -g tilelive-xray
) should do the trick; it should install the correct version of tilelive-vector
as a dependency, and if it doesn't, install @mapbox/tilelive-vector
manually and you should be good to go.
I used this command
npm install -g tilelive-vector tilelive-xray
and got these errors