{"action":"created","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/6332","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6332/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6332/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6332/events","html_url":"https://github.com/TryGhost/Ghost/issues/6332","id":126270076,"number":6332,"title":"Revisit post-i18n preinstall script","user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/i18n","name":"i18n","color":"94D3DE"},{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/installation","name":"installation","color":"9fbb58"},{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/server","name":"server","color":"0B939C"}],"state":"open","locked":false,"assignee":{"login":"halfdan","id":176576,"avatar_url":"https://avatars.githubusercontent.com/u/176576?v=3","gravatar_id":"","url":"https://api.github.com/users/halfdan","html_url":"https://github.com/halfdan","followers_url":"https://api.github.com/users/halfdan/followers","following_url":"https://api.github.com/users/halfdan/following{/other_user}","gists_url":"https://api.github.com/users/halfdan/gists{/gist_id}","starred_url":"https://api.github.com/users/halfdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halfdan/subscriptions","organizations_url":"https://api.github.com/users/halfdan/orgs","repos_url":"https://api.github.com/users/halfdan/repos","events_url":"https://api.github.com/users/halfdan/events{/privacy}","received_events_url":"https://api.github.com/users/halfdan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-12T20:36:53Z","updated_at":"2016-01-13T13:33:34Z","closed_at":null,"body":"Following on from #6070 and the [discussion here](https://github.com/TryGhost/Ghost/pull/6070#issuecomment-170977126) we need to consider whether it's the correct approach to have so many dependencies installed via the preinstall script.\r\n\r\nThe existing preinstall script has already lead to some interesting install issues, and I'd like to make installing Ghost easier rather than trickier :)\r\n\r\nAdditionally, as these errors are output to the console, not in the UI, I think it's safe to leave them untranslated. In future we can ensure that the error codes and error messages lead to translated docs and troubleshooting guides."},"comment":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments/171290744","html_url":"https://github.com/TryGhost/Ghost/issues/6332#issuecomment-171290744","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6332","id":171290744,"user":{"login":"halfdan","id":176576,"avatar_url":"https://avatars.githubusercontent.com/u/176576?v=3","gravatar_id":"","url":"https://api.github.com/users/halfdan","html_url":"https://github.com/halfdan","followers_url":"https://api.github.com/users/halfdan/followers","following_url":"https://api.github.com/users/halfdan/following{/other_user}","gists_url":"https://api.github.com/users/halfdan/gists{/gist_id}","starred_url":"https://api.github.com/users/halfdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halfdan/subscriptions","organizations_url":"https://api.github.com/users/halfdan/orgs","repos_url":"https://api.github.com/users/halfdan/repos","events_url":"https://api.github.com/users/halfdan/events{/privacy}","received_events_url":"https://api.github.com/users/halfdan/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T13:33:34Z","updated_at":"2016-01-13T13:33:34Z","body":"After looking into this I agree that, if the goal is to reduce the number of initial dependencies, i18n in the startup check is a no go. The i18n module depends on `lodash` (in multiple lines), `chalk` (one call) and completely on `intl` and `intl-messageformat`. While chalk can potentially be removed we're still left with the other three dependencies. I'm going to create a PR that reverts the i18n changes to the startup check and the preinstall hook (and remove the strings with it)."}}