Carto is not working in OSMBright

44 views
Skip to first unread message

Davinder Kaur

unread,
Feb 15, 2016, 9:36:01 PM2/15/16
to openstreetmap-dev
 Hello Everyone,

I'm just trying to build my own OSM server. I am following this tutorial:

https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

But when configure OSMBright, then on compiling the stylesheet, when I apply

carto project.mml > OSMBRight.mml,

I'm getting the error mentioned below:

Can you please help, why it's showing version incompatibility?



# carto project.mml > OSMBright.xml

/usr/lib/nodejs/carto/lib/
carto/tree/reference.js:19
    if (mapnik_reference.version.hasOwnProperty(version)) {
                                 ^
TypeError: Cannot call method 'hasOwnProperty' of undefined
    at Object.ref.setVersion
(/usr/lib/nodejs/carto/lib/carto/tree/reference.js:19:34)
    at /usr/lib/nodejs/carto/lib/carto/tree/reference.js:209:5
    at Object.<anonymous>
(/usr/lib/nodejs/carto/lib/carto/tree/reference.js:213:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at exports.(anonymous function)
(/usr/lib/nodejs/carto/lib/carto/index.js:73:5)
Reply all
Reply to author
Forward
0 new messages