Git Product home page Git Product logo

Comments (5)

mdholloway avatar mdholloway commented on May 25, 2024

./util/has_lib.sh: 31: ./util/has_lib.sh: pkg-config: not found

Mind doing sudo apt-get install -y pkg-config libcairo2-dev libjpeg-dev libgif-dev and retrying? I think that should get you up and running. If so, I'll update the docs.

from kartotherian.

Phyks avatar Phyks commented on May 25, 2024

@mdholloway Indeed, that solved the issue for me. I then had an issue with mapnik-config not found, solved by sudo apt-get install -y libmapnik-dev.

Finally, I had an issue with the build step in mapnik. Looks like I was using a Node > 8 which was an issue, Node v8 works fine!

Thanks for the useful tips :)

from kartotherian.

Phyks avatar Phyks commented on May 25, 2024

Actually, when running the server, I got an issue from node_modules/@kartotherian/snapshot/lib/autoPosition.js. The line just before the line 21 ends with a comma while (I think) it should end with a ;. Changing this, the server starts correctly.

EDIT: Btw, I had issues with yarn as well. npm is safe and works.

from kartotherian.

mdholloway avatar mdholloway commented on May 25, 2024

The autoPosition.js typo was fixed in #80 and the docs were updated in #82. Thanks to @Phyks for the reports!

(Btw, if the yarn issue is still present, please feel free to open a new issue and elaborate a bit more on the problem.)

from kartotherian.

Phyks avatar Phyks commented on May 25, 2024

Thanks! I'll open a new issue for the yarn issue.

from kartotherian.

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.