{"action":"created","issue":{"url":"https://api.github.com/repos/intesso/connect-locale/issues/1","labels_url":"https://api.github.com/repos/intesso/connect-locale/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/intesso/connect-locale/issues/1/comments","events_url":"https://api.github.com/repos/intesso/connect-locale/issues/1/events","html_url":"https://github.com/intesso/connect-locale/issues/1","id":105920351,"number":1,"title":"Requiring strategies broken on case sensitive file systems","user":{"login":"thefotios","id":166175,"avatar_url":"https://avatars.githubusercontent.com/u/166175?v=3","gravatar_id":"","url":"https://api.github.com/users/thefotios","html_url":"https://github.com/thefotios","followers_url":"https://api.github.com/users/thefotios/followers","following_url":"https://api.github.com/users/thefotios/following{/other_user}","gists_url":"https://api.github.com/users/thefotios/gists{/gist_id}","starred_url":"https://api.github.com/users/thefotios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefotios/subscriptions","organizations_url":"https://api.github.com/users/thefotios/orgs","repos_url":"https://api.github.com/users/thefotios/repos","events_url":"https://api.github.com/users/thefotios/events{/privacy}","received_events_url":"https://api.github.com/users/thefotios/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-10T23:47:34Z","updated_at":"2015-09-11T16:59:26Z","closed_at":"2015-09-11T07:10:02Z","body":"Before strategies are loaded [here][1], there are passed through the `cleanupArray` function. The problem is that this lowercases the names before sent into `require`. So even though I am passing in `acceptLanguage` as the strategy, it throws this error:\r\n```\r\nError: Cannot find module './lib/strategy/acceptlanguage'\r\n```\r\n\r\nNot sure what problem that was trying to solve, but a simple solution could just be renaming the file to be all lowercase. Otherwise, you could just require people pass in explicit values and don't hold their hands.\r\n\r\n[1]: https://github.com/intesso/connect-locale/blob/master/server.js#L44"},"comment":{"url":"https://api.github.com/repos/intesso/connect-locale/issues/comments/139600242","html_url":"https://github.com/intesso/connect-locale/issues/1#issuecomment-139600242","issue_url":"https://api.github.com/repos/intesso/connect-locale/issues/1","id":139600242,"user":{"login":"thefotios","id":166175,"avatar_url":"https://avatars.githubusercontent.com/u/166175?v=3","gravatar_id":"","url":"https://api.github.com/users/thefotios","html_url":"https://github.com/thefotios","followers_url":"https://api.github.com/users/thefotios/followers","following_url":"https://api.github.com/users/thefotios/following{/other_user}","gists_url":"https://api.github.com/users/thefotios/gists{/gist_id}","starred_url":"https://api.github.com/users/thefotios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefotios/subscriptions","organizations_url":"https://api.github.com/users/thefotios/orgs","repos_url":"https://api.github.com/users/thefotios/repos","events_url":"https://api.github.com/users/thefotios/events{/privacy}","received_events_url":"https://api.github.com/users/thefotios/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T16:59:26Z","updated_at":"2015-09-11T16:59:26Z","body":"Thanks for fixing it. I hit it in the middle of a hackathon and everybody else thought I was crazy because it worked for them on their Macs.\r\n\r\nFun hackaround for your `package.json` or anybody else who's including it\r\n```json\r\n    \"postinstall\": \"(cd ./lib/strategy; if [ ! -f acceptlanguage.js ]; then ln -sf acceptLanguage.js acceptlanguage.js; fi)\"\r\n```"}}