{"action":"created","issue":{"url":"https://api.github.com/repos/tableflip/boss/issues/30","labels_url":"https://api.github.com/repos/tableflip/boss/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/tableflip/boss/issues/30/comments","events_url":"https://api.github.com/repos/tableflip/boss/issues/30/events","html_url":"https://github.com/tableflip/boss/issues/30","id":55981460,"number":30,"title":"bs-web errors with \"No component with name mdns has been registered\"","user":{"login":"jzumbrun","id":101787,"avatar_url":"https://avatars.githubusercontent.com/u/101787?v=3","gravatar_id":"","url":"https://api.github.com/users/jzumbrun","html_url":"https://github.com/jzumbrun","followers_url":"https://api.github.com/users/jzumbrun/followers","following_url":"https://api.github.com/users/jzumbrun/following{/other_user}","gists_url":"https://api.github.com/users/jzumbrun/gists{/gist_id}","starred_url":"https://api.github.com/users/jzumbrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzumbrun/subscriptions","organizations_url":"https://api.github.com/users/jzumbrun/orgs","repos_url":"https://api.github.com/users/jzumbrun/repos","events_url":"https://api.github.com/users/jzumbrun/events{/privacy}","received_events_url":"https://api.github.com/users/jzumbrun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-30T01:06:47Z","updated_at":"2015-01-30T08:31:22Z","closed_at":null,"body":"```$ bs-web```\r\n\r\n```\r\nUncaught error Error: No component with name mdns has been registered\r\n    at Container._getDependency (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Container.js:224:24)\r\n    at null.<anonymous> (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Dependency.js:104:32)\r\n    at Array.forEach (native)\r\n    at Dependency._testForCircularDependencies (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Dependency.js:99:16)\r\n    at null.<anonymous> (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Dependency.js:17:10)\r\n    at processImmediate [as _immediateCallback] (timers.js:354:15)\r\n\r\n/usr/local/lib/node_modules/process-boss/lib/web/BossWeb.js:12\r\n    throw error\r\n          ^\r\nError: No component with name mdns has been registered\r\n    at Container._getDependency (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Container.js:224:24)\r\n    at null.<anonymous> (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Dependency.js:104:32)\r\n    at Array.forEach (native)\r\n    at Dependency._testForCircularDependencies (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Dependency.js:99:16)\r\n    at null.<anonymous> (/usr/local/lib/node_modules/process-boss/node_modules/wantsit/lib/Dependency.js:17:10)\r\n    at processImmediate [as _immediateCallback] (timers.js:354:15)\r\n\r\n```\r\n\r\n```\r\n$ boss --version\r\n2.5.2\r\n$ node -v\r\nv0.10.36\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/tableflip/boss/issues/comments/72169234","html_url":"https://github.com/tableflip/boss/issues/30#issuecomment-72169234","issue_url":"https://api.github.com/repos/tableflip/boss/issues/30","id":72169234,"user":{"login":"achingbrain","id":665810,"avatar_url":"https://avatars.githubusercontent.com/u/665810?v=3","gravatar_id":"","url":"https://api.github.com/users/achingbrain","html_url":"https://github.com/achingbrain","followers_url":"https://api.github.com/users/achingbrain/followers","following_url":"https://api.github.com/users/achingbrain/following{/other_user}","gists_url":"https://api.github.com/users/achingbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/achingbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achingbrain/subscriptions","organizations_url":"https://api.github.com/users/achingbrain/orgs","repos_url":"https://api.github.com/users/achingbrain/repos","events_url":"https://api.github.com/users/achingbrain/events{/privacy}","received_events_url":"https://api.github.com/users/achingbrain/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T08:31:22Z","updated_at":"2015-01-30T08:31:22Z","body":"This should be an optional dependency. I mean, it is in the package.json but boss should handle it being missing at runtime.\r\n\r\nI guess the annoying thing is that if you install boss without avahi installed, then install avahi, mDNS won't magically start working.  Not sure if we can do anything about that.\r\n\r\nReopening as a reminder to self to handle the missing component more gracefully.\r\n\r\n"}}