Open smounir opened 5 years ago
I have the same problem and I hope for a quick intervention since currently is the only way to pass images into symbol layers and I need them in a project.
I ran into the same problem. Updating spritezero to version 6 (similar to what is done in #28) solves this.
Exactly the same issue on MacOS. Updating spritezero to version 6(.1.1) does not solves this. The problem seems to be somewhere inside the mapnik@3.6.2.
After playing a bit with nvm I got this combination:
% node --version v12.16.1
% npm --version 6.13.4
And switching to @mapbox/spritezero": "^6.2.0-dev" with these node/npm versions solves the issue on my Catalina machine. But I also did in advance: % npm install -g node-gyp % npm install -g node-pre-gyp % npm i svgo --save-dev
NAME="Ubuntu" VERSION="18.04.1 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.1 LTS" VERSION_ID="18.04"
node --version v8.10.0
npm -v 5.6.0
Faile traceback: