Comments (11)
nothing previously suggested worked for me on mac Catalina or Win10 to avoid the mapnik failure except to use this fork https://www.npmjs.com/package/@beyondtracks/spritezero-cli. 2 days to troubleshoot. ~ms to make spritesheet :)
from spritezero-cli.
I've got the same issue and using the version 8.9.4 fixes it
from spritezero-cli.
@AEiosApp Did you ever solve this? I am stuck in the same place as you are. I personally did a 10x version install found this dependency issue, uninstalled and installed of 8.9.4. Still getting the exact same error. Any help would be appreciated.
from spritezero-cli.
I tried installing mapnik separately first, which gets me around the first roadblock, but fails later in the process. Meanwhile, npm still tries to install mapnik and fails, apparently because it's looking for version 3.6.2 whereas the version installed from mapnik.com is 3.0.16.
from spritezero-cli.
Hi @eldang, if you're working on Windows, please see 'Depends' section in node-mapnik readme file.
As windows support for mapnik has been dropped link, we are stuck to using v.8 version of node.js, because binaries for v.9 and later versions are not provided.
By the way, if you want to use different versions of Node.js on your machine, please take a look at nvm manager link.
P.S. I was able to successfully install spritezero-cli using Node.js v.8.9.4
from spritezero-cli.
Thanks, @zilvinelis . I'm on a Mac, but am using node v.9.5.0 . I'll see if I can install nvm, node v.8.xx and then spritezero-cli; if it works then I'll submit a PR to warn upfront about this in the README.
from spritezero-cli.
@eldang, was you able to fix this? I'm getting the same issue
from spritezero-cli.
I'm sorry @AEiosApp - I ended up not having time, having meanwhile found that this wasn't the tool I needed anyway.
from spritezero-cli.
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.2/node-v67-linux-x64-Release.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.2/node-v67-linux-x64-Release.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI) (falling back to source compile with node-gyp)
/bin/sh: mapnik-config: opdracht niet gevonden
gyp: Call to 'mapnik-config --cflags' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
Aggh!! This is because of the mapnik
dependency package!
from spritezero-cli.
@cdavis4 Thank you for sharing!
from spritezero-cli.
@cdavis4 , thank you so much!
Two hours passed and I still can't install spritezero-cli
on macOs 11 using node 10 and node 12 but the folk you mention above saved me!
from spritezero-cli.
Related Issues (17)
- Fix coveralls reporting HOT 1
- License HOT 2
- Add eslint
- Add --help command
- Did we delete node binaries from S3? (mapnik) ? HOT 5
- Fails to convert svg (which contains <use> tags) HOT 3
- Upgrade spritezero dependency to v6?
- Update to new spritezero HOT 1
- Faild to install HOT 3
- Fail install and fail generate sprite sheets
- On how install and use spritezero- latest release
- Add docker image HOT 3
- svg not converting
- Installation HOT 2
- Ignore .DS_Store HOT 3
- npm Install Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spritezero-cli.