Open StyXman opened 9 years ago
In fact I just tried all the export options, except upload to Mapbox, and only MapnikXML worked. All the rest dies the same way. As @springmeyer suggested, this sounds like a local setup problem, but I don't see what. i also have to note that this is the first time I ever try any of those export methods; I always used MapnikXML and used a custom render script.
I am unable to replicate and I get the same npm ls
output. What node version are you running and how did you install it?
nodejs 0.10.29~dfsg-1 from debian Sid.
mind installing node v0.10.33 using nvm: https://github.com/creationix/nvm just to rule out some different in node version?
@StyXman - can you try removing the try/catch here: https://github.com/mapbox/tilemill/blob/master/commands/core.bones#L145-L153 and see if that creates a startup error on your system? I think this try/catch may be covering up the real error we need to solve.
Nope, still the same:
[tilemill] [tilemill] skipped loading export model: TypeError: Object Error: No default sync method has no method 'reduce'
[...]
[tilemill] Error: No default sync method
[tilemill] at Object.Backbone.sync (/home/mdione/src/projects/tilemill/node_modules/bones/server/backbone.js:4:11)
[tilemill] at models.Export.sync (/home/mdione/src/projects/tilemill/models/Exports.server.bones:126:18)
[tilemill] at _.extend.fetch (/home/mdione/src/projects/tilemill/node_modules/backbone/backbone.js:249:35)
[tilemill] at server.getModel (/home/mdione/src/projects/tilemill/node_modules/bones/servers/Route.bones:120:15)
[tilemill] at callbacks (/home/mdione/src/projects/tilemill/node_modules/express/lib/router/index.js:272:11)
[tilemill] at server.loadModel (/home/mdione/src/projects/tilemill/node_modules/bones/servers/Route.bones:115:5)
[tilemill] at callbacks (/home/mdione/src/projects/tilemill/node_modules/express/lib/router/index.js:272:11)
[tilemill] at param (/home/mdione/src/projects/tilemill/node_modules/express/lib/router/index.js:246:11)
[tilemill] at param (/home/mdione/src/projects/tilemill/node_modules/express/lib/router/index.js:243:11)
[tilemill] at param (/home/mdione/src/projects/tilemill/node_modules/express/lib/router/index.js:243:11)
** Message: console message: http://127.0.0.1:20009/assets/bones/all.js @5553: {"status":500}
There are no new commits if I try to pull. Sorry for not being more responsive.
When I launch
tilemill
from the command line, I get this warning:Then, when I try to export something to SVG or PDF, I get this error:
Following instructions from @springmeyer , I
git pull
'ed the latest version, deletednode_modules
, clearednpm
's cache and runnpm install
again. I get the same errors.Here's the complete
npm ls
's output: