mapbox/tilemill — Issue #855: broken project symlink blocks startup
Author: springmeyer
Created: 2011-10-31 14:36:33+00:00
State: open

Based on the code comments at https://github.com/mapbox/tilemill/blob/master/models/Project.server.bones#L230 it appears the expected behavior of a bad project is to skip it and recover.

I just moved machines and copied over my `Documents/MapBox` directory. It appears that a broken symlink can still bring down tilemill, and until I rm'ed this file tilemill would not start:

```
Error: Error: ENOENT, No such file or directory '/Users/dane/Documents/MapBox/project/foss4g-2011'
at /Applications/TileMill.app/Contents/Resources/node_modules/bones/servers/Route.bones:101:22
at /Applications/TileMill.app/Contents/Resources/node_modules/bones/node_modules/backbone/backbone.js:999:9
at /Applications/TileMill.app/Contents/Resources/models/Project.server.bones:28:30
at Function. (/Applications/TileMill.app/Contents/Resources/models/Project.server.bones:222:25)
at next (/Applications/TileMill.app/Contents/Resources/node_modules/step/lib/step.js:51:23)
at /Applications/TileMill.app/Contents/Resources/lib/fsutil.js:31:33
```