{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4256","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4256/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4256/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4256/events","html_url":"https://github.com/ember-cli/ember-cli/issues/4256","id":86261975,"number":4256,"title":"Blueprints create unresolvable paths for entities in private npm modules","user":{"login":"gmurphey","id":373721,"avatar_url":"https://avatars.githubusercontent.com/u/373721?v=3","gravatar_id":"","url":"https://api.github.com/users/gmurphey","html_url":"https://github.com/gmurphey","followers_url":"https://api.github.com/users/gmurphey/followers","following_url":"https://api.github.com/users/gmurphey/following{/other_user}","gists_url":"https://api.github.com/users/gmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/gmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmurphey/subscriptions","organizations_url":"https://api.github.com/users/gmurphey/orgs","repos_url":"https://api.github.com/users/gmurphey/repos","events_url":"https://api.github.com/users/gmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/gmurphey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/addons","name":"addons","color":"bada55"},{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/npm","name":"npm","color":"000000"},{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/verified","name":"verified","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-08T17:18:55Z","updated_at":"2015-06-09T18:15:08Z","closed_at":null,"body":"My team's working to create addons using private npm modules. This requires us to prepend our module name in our `package.json` with a scope (`@gmurphey/scoped-ember-addon`).\r\n\r\nUsing the generate command, the `addon-import` and `*-addon` blueprints are creating paths that can't be found by the resolver (`@gmurphey/scoped-ember-addon/components/x-foo`, for example). I've created [gmurphey/scoped-ember-addon](https://github.com/gmurphey/scoped-ember-addon) to demonstrate the issue.\r\n\r\nRemoving the scope from the import path fixes the issue. I'm happy to do the work to fix this if someone can give me some advice on whether the fix should be in the blueprints or the resolver.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/110452682","html_url":"https://github.com/ember-cli/ember-cli/issues/4256#issuecomment-110452682","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4256","id":110452682,"user":{"login":"gmurphey","id":373721,"avatar_url":"https://avatars.githubusercontent.com/u/373721?v=3","gravatar_id":"","url":"https://api.github.com/users/gmurphey","html_url":"https://github.com/gmurphey","followers_url":"https://api.github.com/users/gmurphey/followers","following_url":"https://api.github.com/users/gmurphey/following{/other_user}","gists_url":"https://api.github.com/users/gmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/gmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmurphey/subscriptions","organizations_url":"https://api.github.com/users/gmurphey/orgs","repos_url":"https://api.github.com/users/gmurphey/repos","events_url":"https://api.github.com/users/gmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/gmurphey/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T18:15:08Z","updated_at":"2015-06-09T18:15:08Z","body":"Just a note for myself when I get to this: watchman doesn't seem to be watching changes correctly when running `ember server` when inside of a private addon."}}