tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.11k stars 527 forks source link

PDF and SVG export not working #2443

Open StyXman opened 9 years ago

StyXman commented 9 years ago

When I launch tilemill from the command line, I get this warning:

[tilemill] skipped loading export model: TypeError: Object Error: No default sync method has no method 'reduce'

Then, when I try to export something to SVG or PDF, I get this error:

[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}

Following instructions from @springmeyer , I git pull'ed the latest version, deleted node_modules, cleared npm's cache and run npm install again. I get the same errors.

Here's the complete npm ls's output:

tilemill@0.10.1 /home/mdione/src/projects/tilemill
├── backbone@0.3.3
├─┬ backbone-dirty@1.1.3
│ ├── dirty@0.9.9
│ └── underscore@1.3.3
├─┬ bones@1.3.29
│ ├─┬ mirror@0.3.3
│ │ └── uglify-js@1.0.2
│ └── underscore@1.1.7
├─┬ carto@0.14.0
│ └── mapnik-reference@6.0.4
├── chrono@1.0.5
├─┬ connect@1.9.2
│ ├── formidable@1.0.15
│ ├── mime@1.2.11
│ └── qs@2.3.3
├─┬ difflet@0.2.6
│ ├── charm@0.1.2
│ ├── deep-is@0.1.3
│ └── traverse@0.6.6
├─┬ express@2.5.11
│ ├── mime@1.2.4
│ ├── mkdirp@0.3.0
│ └── qs@0.4.2
├── generic-pool@2.1.1
├─┬ glob@4.0.6
│ ├── graceful-fs@3.0.4
│ ├── inherits@2.0.1
│ ├─┬ minimatch@1.0.0
│ │ ├── lru-cache@2.5.0
│ │ └── sigmund@1.0.0
│ └─┬ once@1.3.1
│   └── wrappy@1.0.1
├─┬ jquery@1.6.3
│ └── htmlparser@1.7.7
├─┬ jsdom@0.8.3
│ ├── cssom@0.2.5
│ ├─┬ cssstyle@0.2.22
│ │ └── cssom@0.3.0
│ ├─┬ htmlparser2@3.8.2
│ │ ├── domelementtype@1.1.3
│ │ ├── domhandler@2.3.0
│ │ ├── domutils@1.5.0
│ │ ├── entities@1.0.0
│ │ └─┬ readable-stream@1.1.13
│ │   ├── core-util-is@1.0.1
│ │   ├── inherits@2.0.1
│ │   ├── isarray@0.0.1
│ │   └── string_decoder@0.10.31
│ └── nwmatcher@1.3.3
├─┬ jshint@0.2.3
│ └── argsparser@0.0.6
├── JSV@4.0.2
├─┬ mapnik@3.1.2
│ ├── mapnik-vector-tile@0.6.1
│ ├── nan@1.4.1
│ └─┬ node-pre-gyp@0.6.1
│   ├─┬ mkdirp@0.5.0
│   │ └── minimist@0.0.8
│   ├─┬ nopt@3.0.1
│   │ └── abbrev@1.0.5
│   ├─┬ npmlog@0.1.1
│   │ └── ansi@0.3.0
│   ├─┬ rc@0.5.4
│   │ ├── deep-extend@0.2.11
│   │ ├── ini@1.1.0
│   │ ├── minimist@0.0.10
│   │ └── strip-json-comments@0.1.3
│   ├─┬ request@2.48.0
│   │ ├── aws-sign2@0.5.0
│   │ ├─┬ bl@0.9.3
│   │ │ └─┬ readable-stream@1.0.33
│   │ │   ├── core-util-is@1.0.1
│   │ │   ├── inherits@2.0.1
│   │ │   ├── isarray@0.0.1
│   │ │   └── string_decoder@0.10.31
│   │ ├── caseless@0.7.0
│   │ ├─┬ combined-stream@0.0.7
│   │ │ └── delayed-stream@0.0.5
│   │ ├── forever-agent@0.5.2
│   │ ├─┬ form-data@0.1.4
│   │ │ ├── async@0.9.0
│   │ │ └── mime@1.2.11
│   │ ├─┬ hawk@1.1.1
│   │ │ ├── boom@0.4.2
│   │ │ ├── cryptiles@0.2.2
│   │ │ ├── hoek@0.9.1
│   │ │ └── sntp@0.2.4
│   │ ├─┬ http-signature@0.10.0
│   │ │ ├── asn1@0.1.11
│   │ │ ├── assert-plus@0.1.2
│   │ │ └── ctype@0.5.2
│   │ ├── json-stringify-safe@5.0.0
│   │ ├── mime-types@1.0.2
│   │ ├── node-uuid@1.4.1
│   │ ├── oauth-sign@0.5.0
│   │ ├── qs@2.3.3
│   │ ├── stringstream@0.0.4
│   │ ├─┬ tough-cookie@0.12.1
│   │ │ └── punycode@1.3.2
│   │ └── tunnel-agent@0.4.0
│   ├── rimraf@2.2.8
│   ├── semver@4.1.0
│   ├─┬ tar@1.0.2
│   │ ├── block-stream@0.0.7
│   │ ├─┬ fstream@1.0.2
│   │ │ └── graceful-fs@3.0.4
│   │ └── inherits@2.0.1
│   └─┬ tar-pack@2.0.0
│     ├── debug@0.7.4
│     ├─┬ fstream@0.1.31
│     │ ├── graceful-fs@3.0.4
│     │ └── inherits@2.0.1
│     ├─┬ fstream-ignore@0.0.7
│     │ ├── inherits@2.0.1
│     │ └─┬ minimatch@0.2.14
│     │   ├── lru-cache@2.5.0
│     │   └── sigmund@1.0.0
│     ├── graceful-fs@1.2.3
│     ├── once@1.1.1
│     ├─┬ readable-stream@1.0.33
│     │ ├── core-util-is@1.0.1
│     │ ├── inherits@2.0.1
│     │ ├── isarray@0.0.1
│     │ └── string_decoder@0.10.31
│     ├─┬ tar@0.1.20
│     │ ├── block-stream@0.0.7
│     │ └── inherits@2.0.1
│     └── uid-number@0.0.3
├─┬ mbtiles@0.7.4
│ └── tiletype@0.1.0
├─┬ millstone@0.6.15
│ ├── mime@1.2.11
│ ├─┬ srs@0.4.6
│ │ ├── nan@1.4.1
│ │ └─┬ node-pre-gyp@0.6.1
│ │   ├─┬ mkdirp@0.5.0
│ │   │ └── minimist@0.0.8
│ │   ├─┬ nopt@3.0.1
│ │   │ └── abbrev@1.0.5
│ │   ├─┬ npmlog@0.1.1
│ │   │ └── ansi@0.3.0
│ │   ├─┬ rc@0.5.4
│ │   │ ├── deep-extend@0.2.11
│ │   │ ├── ini@1.1.0
│ │   │ ├── minimist@0.0.10
│ │   │ └── strip-json-comments@0.1.3
│ │   ├─┬ request@2.48.0
│ │   │ ├── aws-sign2@0.5.0
│ │   │ ├─┬ bl@0.9.3
│ │   │ │ └─┬ readable-stream@1.0.33
│ │   │ │   ├── core-util-is@1.0.1
│ │   │ │   ├── inherits@2.0.1
│ │   │ │   ├── isarray@0.0.1
│ │   │ │   └── string_decoder@0.10.31
│ │   │ ├── caseless@0.7.0
│ │   │ ├─┬ combined-stream@0.0.7
│ │   │ │ └── delayed-stream@0.0.5
│ │   │ ├── forever-agent@0.5.2
│ │   │ ├─┬ form-data@0.1.4
│ │   │ │ ├── async@0.9.0
│ │   │ │ └── mime@1.2.11
│ │   │ ├─┬ hawk@1.1.1
│ │   │ │ ├── boom@0.4.2
│ │   │ │ ├── cryptiles@0.2.2
│ │   │ │ ├── hoek@0.9.1
│ │   │ │ └── sntp@0.2.4
│ │   │ ├─┬ http-signature@0.10.0
│ │   │ │ ├── asn1@0.1.11
│ │   │ │ ├── assert-plus@0.1.2
│ │   │ │ └── ctype@0.5.2
│ │   │ ├── json-stringify-safe@5.0.0
│ │   │ ├── mime-types@1.0.2
│ │   │ ├── node-uuid@1.4.1
│ │   │ ├── oauth-sign@0.5.0
│ │   │ ├── qs@2.3.3
│ │   │ ├── stringstream@0.0.4
│ │   │ ├─┬ tough-cookie@0.12.1
│ │   │ │ └── punycode@1.3.2
│ │   │ └── tunnel-agent@0.4.0
│ │   ├── rimraf@2.2.8
│ │   ├── semver@4.1.0
│ │   ├─┬ tar@1.0.2
│ │   │ ├── block-stream@0.0.7
│ │   │ ├─┬ fstream@1.0.2
│ │   │ │ └── graceful-fs@3.0.4
│ │   │ └── inherits@2.0.1
│ │   └─┬ tar-pack@2.0.0
│ │     ├── debug@0.7.4
│ │     ├─┬ fstream@0.1.31
│ │     │ ├── graceful-fs@3.0.4
│ │     │ └── inherits@2.0.1
│ │     ├─┬ fstream-ignore@0.0.7
│ │     │ ├── inherits@2.0.1
│ │     │ └─┬ minimatch@0.2.14
│ │     │   ├── lru-cache@2.5.0
│ │     │   └── sigmund@1.0.0
│ │     ├── graceful-fs@1.2.3
│ │     ├── once@1.1.1
│ │     ├─┬ readable-stream@1.0.33
│ │     │ ├── core-util-is@1.0.1
│ │     │ ├── inherits@2.0.1
│ │     │ ├── isarray@0.0.1
│ │     │ └── string_decoder@0.10.31
│ │     ├─┬ tar@0.1.20
│ │     │ ├── block-stream@0.0.7
│ │     │ └── inherits@2.0.1
│ │     └── uid-number@0.0.3
│ └─┬ zipfile@0.5.4
│   ├── nan@1.4.1
│   └─┬ node-pre-gyp@0.6.1
│     ├─┬ mkdirp@0.5.0
│     │ └── minimist@0.0.8
│     ├─┬ nopt@3.0.1
│     │ └── abbrev@1.0.5
│     ├─┬ npmlog@0.1.1
│     │ └── ansi@0.3.0
│     ├─┬ rc@0.5.4
│     │ ├── deep-extend@0.2.11
│     │ ├── ini@1.1.0
│     │ ├── minimist@0.0.10
│     │ └── strip-json-comments@0.1.3
│     ├─┬ request@2.48.0
│     │ ├── aws-sign2@0.5.0
│     │ ├─┬ bl@0.9.3
│     │ │ └─┬ readable-stream@1.0.33
│     │ │   ├── core-util-is@1.0.1
│     │ │   ├── inherits@2.0.1
│     │ │   ├── isarray@0.0.1
│     │ │   └── string_decoder@0.10.31
│     │ ├── caseless@0.7.0
│     │ ├─┬ combined-stream@0.0.7
│     │ │ └── delayed-stream@0.0.5
│     │ ├── forever-agent@0.5.2
│     │ ├─┬ form-data@0.1.4
│     │ │ ├── async@0.9.0
│     │ │ └── mime@1.2.11
│     │ ├─┬ hawk@1.1.1
│     │ │ ├── boom@0.4.2
│     │ │ ├── cryptiles@0.2.2
│     │ │ ├── hoek@0.9.1
│     │ │ └── sntp@0.2.4
│     │ ├─┬ http-signature@0.10.0
│     │ │ ├── asn1@0.1.11
│     │ │ ├── assert-plus@0.1.2
│     │ │ └── ctype@0.5.2
│     │ ├── json-stringify-safe@5.0.0
│     │ ├── mime-types@1.0.2
│     │ ├── node-uuid@1.4.1
│     │ ├── oauth-sign@0.5.0
│     │ ├── qs@2.3.3
│     │ ├── stringstream@0.0.4
│     │ ├─┬ tough-cookie@0.12.1
│     │ │ └── punycode@1.3.2
│     │ └── tunnel-agent@0.4.0
│     ├── rimraf@2.2.8
│     ├── semver@4.1.0
│     ├─┬ tar@1.0.2
│     │ ├── block-stream@0.0.7
│     │ ├─┬ fstream@1.0.2
│     │ │ └── graceful-fs@3.0.4
│     │ └── inherits@2.0.1
│     └─┬ tar-pack@2.0.0
│       ├── debug@0.7.4
│       ├─┬ fstream@0.1.31
│       │ ├── graceful-fs@3.0.4
│       │ └── inherits@2.0.1
│       ├─┬ fstream-ignore@0.0.7
│       │ ├── inherits@2.0.1
│       │ └─┬ minimatch@0.2.14
│       │   ├── lru-cache@2.5.0
│       │   └── sigmund@1.0.0
│       ├── graceful-fs@1.2.3
│       ├── once@1.1.1
│       ├─┬ readable-stream@1.0.33
│       │ ├── core-util-is@1.0.1
│       │ ├── inherits@2.0.1
│       │ ├── isarray@0.0.1
│       │ └── string_decoder@0.10.31
│       ├─┬ tar@0.1.20
│       │ ├── block-stream@0.0.7
│       │ └── inherits@2.0.1
│       └── uid-number@0.0.3
├─┬ mkdirp@0.5.0
│ └── minimist@0.0.8
├─┬ mocha@2.0.1
│ ├── commander@2.3.0
│ ├─┬ debug@2.0.0
│ │ └── ms@0.6.2
│ ├── diff@1.0.8
│ ├── escape-string-regexp@1.0.2
│ ├─┬ glob@3.2.3
│ │ ├── graceful-fs@2.0.3
│ │ ├── inherits@2.0.1
│ │ └─┬ minimatch@0.2.14
│ │   ├── lru-cache@2.5.0
│ │   └── sigmund@1.0.0
│ ├── growl@1.8.1
│ └─┬ jade@0.26.3
│   ├── commander@0.6.1
│   └── mkdirp@0.3.0
├── modestmaps@3.3.5
├─┬ npm@2.1.9
│ ├── abbrev@1.0.5
│ ├── ansi@0.3.0
│ ├── ansicolors@0.3.2
│ ├── ansistyles@0.1.3
│ ├── archy@1.0.0
│ ├── async-some@1.0.1
│ ├── block-stream@0.0.7
│ ├── char-spinner@1.0.1
│ ├── child-process-close@0.1.1
│ ├── chmodr@0.1.0
│ ├── chownr@0.0.1
│ ├── cmd-shim@2.0.1
│ ├─┬ columnify@1.2.1
│ │ ├─┬ strip-ansi@1.0.0
│ │ │ └── ansi-regex@0.2.1
│ │ └─┬ wcwidth@1.0.0
│ │   └─┬ defaults@1.0.0
│ │     └── clone@0.1.18
│ ├─┬ config-chain@1.1.8
│ │ └── proto-list@1.2.3
│ ├─┬ dezalgo@1.0.1
│ │ └── asap@1.0.0
│ ├── editor@0.1.0
│ ├── fs-vacuum@1.2.2
│ ├── fs-write-stream-atomic@1.0.2
│ ├── fstream@1.0.2
│ ├─┬ fstream-npm@1.0.1
│ │ └── fstream-ignore@1.0.1
│ ├── github-url-from-git@1.4.0
│ ├── github-url-from-username-repo@1.0.2
│ ├── glob@4.0.6
│ ├── graceful-fs@3.0.4
│ ├── inflight@1.0.4
│ ├── inherits@2.0.1
│ ├── ini@1.3.0
│ ├─┬ init-package-json@1.1.2
│ │ └── promzard@0.2.2
│ ├── lockfile@1.0.0
│ ├── lru-cache@2.5.0
│ ├─┬ minimatch@1.0.0
│ │ └── sigmund@1.0.0
│ ├─┬ mkdirp@0.5.0
│ │ └── minimist@0.0.8
│ ├── node-gyp@1.0.2
│ ├── nopt@3.0.1
│ ├── normalize-package-data@1.0.3
│ ├── npm-cache-filename@1.0.1
│ ├── npm-install-checks@1.0.4
│ ├── npm-package-arg@2.1.3
│ ├─┬ npm-registry-client@4.0.2
│ │ └─┬ concat-stream@1.4.6
│ │   ├─┬ readable-stream@1.1.13
│ │   │ ├── core-util-is@1.0.1
│ │   │ ├── isarray@0.0.1
│ │   │ └── string_decoder@0.10.31
│ │   └── typedarray@0.0.6
│ ├── npm-user-validate@0.1.1
│ ├── npmlog@0.1.1
│ ├── once@1.3.1
│ ├── opener@1.4.0
│ ├── osenv@0.1.0
│ ├── path-is-inside@1.0.1
│ ├─┬ read@1.0.5
│ │ └── mute-stream@0.0.4
│ ├─┬ read-installed@3.1.3
│ │ ├── debuglog@1.0.1
│ │ ├── readdir-scoped-modules@1.0.0
│ │ └── util-extend@1.0.1
│ ├── read-package-json@1.2.7
│ ├─┬ readable-stream@1.0.32
│ │ ├── core-util-is@1.0.1
│ │ ├── isarray@0.0.1
│ │ └── string_decoder@0.10.31
│ ├── realize-package-specifier@1.2.0
│ ├─┬ request@2.47.0
│ │ ├── aws-sign2@0.5.0
│ │ ├── bl@0.9.3
│ │ ├── caseless@0.6.0
│ │ ├─┬ combined-stream@0.0.5
│ │ │ └── delayed-stream@0.0.5
│ │ ├── forever-agent@0.5.2
│ │ ├─┬ form-data@0.1.4
│ │ │ ├── async@0.9.0
│ │ │ └── mime@1.2.11
│ │ ├─┬ hawk@1.1.1
│ │ │ ├── boom@0.4.2
│ │ │ ├── cryptiles@0.2.2
│ │ │ ├── hoek@0.9.1
│ │ │ └── sntp@0.2.4
│ │ ├─┬ http-signature@0.10.0
│ │ │ ├── asn1@0.1.11
│ │ │ ├── assert-plus@0.1.2
│ │ │ └── ctype@0.5.2
│ │ ├── json-stringify-safe@5.0.0
│ │ ├── mime-types@1.0.2
│ │ ├── node-uuid@1.4.1
│ │ ├── oauth-sign@0.4.0
│ │ ├── qs@2.3.2
│ │ ├── stringstream@0.0.4
│ │ ├─┬ tough-cookie@0.12.1
│ │ │ └── punycode@1.3.2
│ │ └── tunnel-agent@0.4.0
│ ├── retry@0.6.1
│ ├── rimraf@2.2.8
│ ├── semver@4.1.0
│ ├─┬ sha@1.3.0
│ │ └─┬ readable-stream@1.1.13
│ │   ├── core-util-is@1.0.1
│ │   ├── isarray@0.0.1
│ │   └── string_decoder@0.10.31
│ ├── slide@1.1.6
│ ├── sorted-object@1.0.0
│ ├── tar@1.0.2
│ ├── text-table@0.2.0
│ ├── uid-number@0.0.6
│ ├── which@1.0.5
│ ├── wrappy@1.0.1
│ └── write-file-atomic@1.1.0
├─┬ optimist@0.6.1
│ ├── minimist@0.0.10
│ └── wordwrap@0.0.2
├─┬ passport@0.2.1
│ ├── passport-strategy@1.0.0
│ └── pause@0.0.1
├─┬ passport-oauth@1.0.0
│ ├─┬ passport-oauth1@1.0.1
│ │ ├── oauth@0.9.12
│ │ ├── passport-strategy@1.0.0
│ │ └── utils-merge@1.0.0
│ └─┬ passport-oauth2@1.1.2
│   ├── oauth@0.9.12
│   ├── passport-strategy@1.0.0
│   └── uid2@0.0.3
├─┬ request@2.48.0
│ ├── aws-sign2@0.5.0
│ ├─┬ bl@0.9.3
│ │ └─┬ readable-stream@1.0.33
│ │   ├── core-util-is@1.0.1
│ │   ├── inherits@2.0.1
│ │   ├── isarray@0.0.1
│ │   └── string_decoder@0.10.31
│ ├── caseless@0.7.0
│ ├─┬ combined-stream@0.0.7
│ │ └── delayed-stream@0.0.5
│ ├── forever-agent@0.5.2
│ ├─┬ form-data@0.1.4
│ │ ├── async@0.9.0
│ │ └── mime@1.2.11
│ ├─┬ hawk@1.1.1
│ │ ├── boom@0.4.2
│ │ ├── cryptiles@0.2.2
│ │ ├── hoek@0.9.1
│ │ └── sntp@0.2.4
│ ├─┬ http-signature@0.10.0
│ │ ├── asn1@0.1.11
│ │ ├── assert-plus@0.1.2
│ │ └── ctype@0.5.2
│ ├── json-stringify-safe@5.0.0
│ ├── mime-types@1.0.2
│ ├── node-uuid@1.4.1
│ ├── oauth-sign@0.5.0
│ ├── qs@2.3.3
│ ├── stringstream@0.0.4
│ ├─┬ tough-cookie@0.12.1
│ │ └── punycode@1.3.2
│ └── tunnel-agent@0.4.0
├── sax@0.6.1
├── semver@4.1.0
├── sphericalmercator@1.0.2
├─┬ sqlite3@3.0.4
│ ├── nan@1.4.1
│ └─┬ node-pre-gyp@0.6.1
│   ├─┬ mkdirp@0.5.0
│   │ └── minimist@0.0.8
│   ├─┬ nopt@3.0.1
│   │ └── abbrev@1.0.5
│   ├─┬ npmlog@0.1.1
│   │ └── ansi@0.3.0
│   ├─┬ rc@0.5.4
│   │ ├── deep-extend@0.2.11
│   │ ├── ini@1.1.0
│   │ ├── minimist@0.0.10
│   │ └── strip-json-comments@0.1.3
│   ├─┬ request@2.48.0
│   │ ├── aws-sign2@0.5.0
│   │ ├─┬ bl@0.9.3
│   │ │ └─┬ readable-stream@1.0.33
│   │ │   ├── core-util-is@1.0.1
│   │ │   ├── inherits@2.0.1
│   │ │   ├── isarray@0.0.1
│   │ │   └── string_decoder@0.10.31
│   │ ├── caseless@0.7.0
│   │ ├─┬ combined-stream@0.0.7
│   │ │ └── delayed-stream@0.0.5
│   │ ├── forever-agent@0.5.2
│   │ ├─┬ form-data@0.1.4
│   │ │ ├── async@0.9.0
│   │ │ └── mime@1.2.11
│   │ ├─┬ hawk@1.1.1
│   │ │ ├── boom@0.4.2
│   │ │ ├── cryptiles@0.2.2
│   │ │ ├── hoek@0.9.1
│   │ │ └── sntp@0.2.4
│   │ ├─┬ http-signature@0.10.0
│   │ │ ├── asn1@0.1.11
│   │ │ ├── assert-plus@0.1.2
│   │ │ └── ctype@0.5.2
│   │ ├── json-stringify-safe@5.0.0
│   │ ├── mime-types@1.0.2
│   │ ├── node-uuid@1.4.1
│   │ ├── oauth-sign@0.5.0
│   │ ├── qs@2.3.3
│   │ ├── stringstream@0.0.4
│   │ ├─┬ tough-cookie@0.12.1
│   │ │ └── punycode@1.3.2
│   │ └── tunnel-agent@0.4.0
│   ├── rimraf@2.2.8
│   ├── semver@4.1.0
│   ├─┬ tar@1.0.2
│   │ ├── block-stream@0.0.7
│   │ ├─┬ fstream@1.0.2
│   │ │ └── graceful-fs@3.0.4
│   │ └── inherits@2.0.1
│   └─┬ tar-pack@2.0.0
│     ├── debug@0.7.4
│     ├─┬ fstream@0.1.31
│     │ ├── graceful-fs@3.0.4
│     │ └── inherits@2.0.1
│     ├─┬ fstream-ignore@0.0.7
│     │ ├── inherits@2.0.1
│     │ └─┬ minimatch@0.2.14
│     │   ├── lru-cache@2.5.0
│     │   └── sigmund@1.0.0
│     ├── graceful-fs@1.2.3
│     ├── once@1.1.1
│     ├─┬ readable-stream@1.0.33
│     │ ├── core-util-is@1.0.1
│     │ ├── inherits@2.0.1
│     │ ├── isarray@0.0.1
│     │ └── string_decoder@0.10.31
│     ├─┬ tar@0.1.20
│     │ ├── block-stream@0.0.7
│     │ └── inherits@2.0.1
│     └── uid-number@0.0.3
├── step@0.0.5
├── tilelive@4.5.3
├─┬ tilelive-mapnik@0.6.14
│ └── mime@1.2.11
├── topcube@0.1.3
├── underscore@1.6.0
├── wax@6.4.2
└── xmlhttprequest@1.5.0
StyXman commented 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.

springmeyer commented 9 years ago

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?

StyXman commented 9 years ago

nodejs 0.10.29~dfsg-1 from debian Sid.

springmeyer commented 9 years ago

mind installing node v0.10.33 using nvm: https://github.com/creationix/nvm just to rule out some different in node version?

springmeyer commented 9 years ago

@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.

StyXman commented 9 years ago

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.