{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator-angular/issues/1061","labels_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1061/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1061/comments","events_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1061/events","html_url":"https://github.com/yeoman/generator-angular/issues/1061","id":68420055,"number":1061,"title":"Yo angular generator looking in wrong directory for bower.json","user":{"login":"rubinovitz","id":1807895,"avatar_url":"https://avatars.githubusercontent.com/u/1807895?v=3","gravatar_id":"","url":"https://api.github.com/users/rubinovitz","html_url":"https://github.com/rubinovitz","followers_url":"https://api.github.com/users/rubinovitz/followers","following_url":"https://api.github.com/users/rubinovitz/following{/other_user}","gists_url":"https://api.github.com/users/rubinovitz/gists{/gist_id}","starred_url":"https://api.github.com/users/rubinovitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubinovitz/subscriptions","organizations_url":"https://api.github.com/users/rubinovitz/orgs","repos_url":"https://api.github.com/users/rubinovitz/repos","events_url":"https://api.github.com/users/rubinovitz/events{/privacy}","received_events_url":"https://api.github.com/users/rubinovitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-14T15:53:09Z","updated_at":"2015-04-21T21:04:56Z","closed_at":null,"body":"I run\r\n```\r\nyo angular:route routeName\r\n```\r\nand get \r\n```\r\nmodule.js:338\r\n    throw err;\r\n    ^\r\nError: Cannot find module '/Users/j/repos/bower.json'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at new Generator (/usr/local/lib/node_modules/generator-angular/route/index.js:17:15)\r\n    at Environment.instantiate (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:282:10)\r\n    at Environment.create (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:259:15)\r\n    at Environment.run (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:318:24)\r\n    at /usr/local/lib/node_modules/yo/lib/cli.js:86:9\r\n    at Environment.resolver.lookup (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/resolver.js:50:12)\r\n```\r\n\r\nBut my bower.json is in the directory I am running this command in, and is in a directory in repos."},"comment":{"url":"https://api.github.com/repos/yeoman/generator-angular/issues/comments/94943338","html_url":"https://github.com/yeoman/generator-angular/issues/1061#issuecomment-94943338","issue_url":"https://api.github.com/repos/yeoman/generator-angular/issues/1061","id":94943338,"user":{"login":"eddiemonge","id":127535,"avatar_url":"https://avatars.githubusercontent.com/u/127535?v=3","gravatar_id":"","url":"https://api.github.com/users/eddiemonge","html_url":"https://github.com/eddiemonge","followers_url":"https://api.github.com/users/eddiemonge/followers","following_url":"https://api.github.com/users/eddiemonge/following{/other_user}","gists_url":"https://api.github.com/users/eddiemonge/gists{/gist_id}","starred_url":"https://api.github.com/users/eddiemonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddiemonge/subscriptions","organizations_url":"https://api.github.com/users/eddiemonge/orgs","repos_url":"https://api.github.com/users/eddiemonge/repos","events_url":"https://api.github.com/users/eddiemonge/events{/privacy}","received_events_url":"https://api.github.com/users/eddiemonge/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T21:04:56Z","updated_at":"2015-04-21T21:04:56Z","body":"do you have a .bowerrc or other file like that in `/Users/j/repos`?"}}