{"action":"opened","issue":{"url":"https://api.github.com/repos/kazuho/force-dedupe-git-modules/issues/11","labels_url":"https://api.github.com/repos/kazuho/force-dedupe-git-modules/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/kazuho/force-dedupe-git-modules/issues/11/comments","events_url":"https://api.github.com/repos/kazuho/force-dedupe-git-modules/issues/11/events","html_url":"https://github.com/kazuho/force-dedupe-git-modules/issues/11","id":99374364,"number":11,"title":"Incompatible with winston transports","user":{"login":"panuhorsmalahti","id":2162413,"avatar_url":"https://avatars.githubusercontent.com/u/2162413?v=3","gravatar_id":"","url":"https://api.github.com/users/panuhorsmalahti","html_url":"https://github.com/panuhorsmalahti","followers_url":"https://api.github.com/users/panuhorsmalahti/followers","following_url":"https://api.github.com/users/panuhorsmalahti/following{/other_user}","gists_url":"https://api.github.com/users/panuhorsmalahti/gists{/gist_id}","starred_url":"https://api.github.com/users/panuhorsmalahti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panuhorsmalahti/subscriptions","organizations_url":"https://api.github.com/users/panuhorsmalahti/orgs","repos_url":"https://api.github.com/users/panuhorsmalahti/repos","events_url":"https://api.github.com/users/panuhorsmalahti/events{/privacy}","received_events_url":"https://api.github.com/users/panuhorsmalahti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-06T07:21:18Z","updated_at":"2015-08-06T07:21:18Z","closed_at":null,"body":"If a git reference of a winston transport (e.g. winston-couchdb) is used, the application stops working properly, since winston-couchdb is moved to the root, while the winston module might be located elsewhere in the node_modules tree. winston-couchdb tries to require winston, but it's not found, since it's not a dependency of winston-couchdb (it's a devDependency).\r\n\r\nMaking winston a dependency of winston-couchdb would fix the exception, but doesn't fix the issue, as winston transports seem to make a singleton assumption.\r\n\r\nThis might be a winston problem more than a force-dedupe-git-modules problem, though."}}