{"action":"closed","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/6761","repository_url":"https://api.github.com/repos/TryGhost/Ghost","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6761/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6761/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6761/events","html_url":"https://github.com/TryGhost/Ghost/issues/6761","id":151366388,"number":6761,"title":"Remove cwd from .bowerrc","user":{"login":"ksketo","id":11510584,"avatar_url":"https://avatars.githubusercontent.com/u/11510584?v=3","gravatar_id":"","url":"https://api.github.com/users/ksketo","html_url":"https://github.com/ksketo","followers_url":"https://api.github.com/users/ksketo/followers","following_url":"https://api.github.com/users/ksketo/following{/other_user}","gists_url":"https://api.github.com/users/ksketo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksketo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksketo/subscriptions","organizations_url":"https://api.github.com/users/ksketo/orgs","repos_url":"https://api.github.com/users/ksketo/repos","events_url":"https://api.github.com/users/ksketo/events{/privacy}","received_events_url":"https://api.github.com/users/ksketo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T11:49:47Z","updated_at":"2016-05-31T15:54:28Z","closed_at":"2016-05-31T15:54:28Z","body":"### Issue Summary\r\n\r\nWhen trying to do bower install inside a theme folder I get the error: \r\n`bower ENOENT        No bower.json present`\r\n\r\nI found the answer here https://github.com/bower/bower/issues/1849#issuecomment-150714620 , which describes how bower concatenates the config files and results in that error. Removing cwd from the .bowerrc in the ghost root directory, fixes the error. \r\n\r\nAlso, according to the description https://github.com/bower/spec/blob/master/config.md#cwd , cwd should be used only via programmatic API or CLI arguments, so I think it should be removed from the .bowerrc in the ghost root directory.\r\n\r\nSeems that this issue appeared since Bower 1.4 release.\r\n\r\n### Technical details:\r\n\r\n* Ghost Version: 0.7.4\r\n* Node Version: v0.12.13\r\n* Bower Version: 1.7.9\r\n* OS: OS X El Capitan 10.11.4\r\n"}}
{"actor":{"display_login":"ErisDS"}}