Coder Social home page Coder Social logo

Comments (5)

liebrand avatar liebrand commented on August 19, 2024

In the end I finally got this working by:
1- downgrading my node to 0.12.4
2- brew install zeromq
3- brew install pkgconfig
4- brew install libpng
5- npm install -g mapbox-tile-copy
6- upgrading my node back to v5.1.0

from mapbox-tile-copy.

martgnz avatar martgnz commented on August 19, 2024

I am getting similar errors as well on OS X. Are there any plans to solve this?

from mapbox-tile-copy.

rclark avatar rclark commented on August 19, 2024

These failures likely stem from dependency on https://github.com/mapnik/node-mapnik. Certain versions of node-mapnik are only prebuilt for certain versions of node.js. When node-pre-gyp can't find an acceptable combination of the node-mapnik version you requested and the version of node.js you're running, it falls back to trying to build the c++ addons "from scratch". In these cases, you'll need several other tools installed.

Looking over the .travis.yml in node-mapnik, I see that there should be builds on v0.10 v4 and v5. Further investigation of the travis logs, looks like pre-built binaries for [email protected] on OSX were built on

  • 5.10.1
  • 4.4.3
  • 0.10.44

from mapbox-tile-copy.

martgnz avatar martgnz commented on August 19, 2024

Thanks @rclark, I understand now.

I'll switch my node version to 5.10.1 with nvm and try the installation again.

I'll keep you updated.

from mapbox-tile-copy.

paddoum avatar paddoum commented on August 19, 2024

Switch to 5.10.1 solved it for us.

from mapbox-tile-copy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.