Tilemill doesn't start - perpetual start/finish/restart loop

Robin Kraft's Avatar

Robin Kraft

08 Sep, 2011 07:20 PM

I'm trying to run Tilemill 0.5 on Mac OS X Lion and can't get it to work at all.

On first launch it seems ok, but when I use Chrome (latest version) to visit http://localhost:8889, the browser immediately downloads a file called 'download' that contains the following gibberish:

4
5.1.44eo{Ao.4Zˇ˜H:*`)HmlVKSBˇÑGot packets out of order

After quitting and launching TileMill again, I get a perpetual spinner to the right of the "Launch in Browser" button, and this is before I can even click the button. If I look at the console, I see the following:

9/8/11 3:16:27.838 PM TileMill: Finished
9/8/11 3:16:27.839 PM TileMill: Restart

It keeps doing this ad infinitum.

I've gotten TileMill to work on this machine before, so I'm surprised that it doesn't work now. Have you seen anything like this before? Any thoughts on how to fix it?

  1. 2 Posted by Robin Kraft on 09 Sep, 2011 03:06 AM

    Robin Kraft's Avatar

    Ah, I just realized I had Apache running as part of the MAMP suite. It was already using port 8889. The info in Console wasn't that helpful until I noticed the tilemill-specific log. For future reference, this is what tipped me off to the problem:

    Error: EADDRINUSE, Address already in use
    at [object Object]._doListen (net.js:1100:5)
    at net.js:1071:14
    at Object.lookup (dns.js:159:5)
    at [object Object].listen (net.js:1065:20)
    at [object Object].start (/Applications/TileMill.app/Contents/Resources/node_modules/bones/server/server.js:34:27)
    at [object Object].<anonymous> (/Applications/TileMill.app/Contents/Resources/node_modules/bones/commands/start.bones:20:40)
    at native
    at Array.forEach (native)
    at Function.<anonymous> (/Applications/TileMill.app/Contents/Resources/node_modules/underscore/underscore.js:74:11)
    at [object Object].each (/Applications/TileMill.app/Contents/Resources/node_modules/underscore/underscore.js:804:26)
    
  2. Support Staff 3 Posted by Will White on 09 Sep, 2011 09:56 PM

    Will White's Avatar

    Thanks! The occupied port situation will be addressed in a future version.

  3. Will White closed this discussion on 09 Sep, 2011 09:56 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

25 May, 2013 09:23 PM
13 Apr, 2013 08:52 PM
25 May, 2013 08:35 PM
17 May, 2013 05:14 AM