{"action":"closed","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5942","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5942/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5942/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5942/events","html_url":"https://github.com/ember-cli/ember-cli/issues/5942","id":157525494,"number":5942,"title":"Blueprint util on ember-add-on with pod wrong folder structure ","user":{"login":"morhook","id":1264354,"avatar_url":"https://avatars.githubusercontent.com/u/1264354?v=3","gravatar_id":"","url":"https://api.github.com/users/morhook","html_url":"https://github.com/morhook","followers_url":"https://api.github.com/users/morhook/followers","following_url":"https://api.github.com/users/morhook/following{/other_user}","gists_url":"https://api.github.com/users/morhook/gists{/gist_id}","starred_url":"https://api.github.com/users/morhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morhook/subscriptions","organizations_url":"https://api.github.com/users/morhook/orgs","repos_url":"https://api.github.com/users/morhook/repos","events_url":"https://api.github.com/users/morhook/events{/privacy}","received_events_url":"https://api.github.com/users/morhook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/Pods","name":"Pods","color":"eeeeee"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-30T15:45:49Z","updated_at":"2016-06-15T13:07:35Z","closed_at":"2016-06-15T13:07:35Z","body":"The following steps:\r\n```bash\r\n$ ember new new-addon\r\n$ cd new-addon\r\n$ ember generate util process --pod\r\ninstalling util\r\n  create addon/utils/process.js\r\ninstalling util-test\r\n  create tests/unit/utils/process-test.js\r\ninstalling addon-import\r\n  create app/process/util.js\r\n```\r\n\r\nLatest `app` file has a wrong folder, thus breaking the build:\r\n\r\n```\r\nnot ok 10 PhantomJS 2.1 - TestLoader Failures: dummy/tests/unit/utils/process-test: could not be loaded\r\n    ---\r\n        actual: >\r\n            null\r\n        stack: >\r\n            missingModule@http://localhost:7357/assets/vendor.js:210:93\r\n            findModule@http://localhost:7357/assets/vendor.js:221:30\r\n            reify@http://localhost:7357/assets/vendor.js:151:32\r\n            build@http://localhost:7357/assets/vendor.js:173:15\r\n            findModule@http://localhost:7357/assets/vendor.js:223:14\r\n            requireModule@http://localhost:7357/assets/vendor.js:26:22\r\n            require@http://localhost:7357/assets/test-loader.js:67:16\r\n            loadModules@http://localhost:7357/assets/test-loader.js:58:25\r\n            load@http://localhost:7357/assets/test-loader.js:89:35\r\n            http://localhost:7357/assets/test-support.js:6477:20\r\n        message: >\r\n            Died on test #1 moduleLoadFailure@http://localhost:7357/assets/test-support.js:6468:15\r\n            require@http://localhost:7357/assets/test-loader.js:69:31\r\n            loadModules@http://localhost:7357/assets/test-loader.js:58:25\r\n            load@http://localhost:7357/assets/test-loader.js:89:35\r\n            http://localhost:7357/assets/test-support.js:6477:20: Could not find module `dummy/utils/process` imported from `dummy/tests/unit/utils/process-test`\r\n        Log: |\r\n    ...\r\n```\r\nSo this is generating a wrong folder structure (and import) in `app` structure. I would expect that the file in app was `app/utils/process.js` with the following content:\r\n```\r\nexport { default } from 'new-addon/utils/process';\r\n```\r\n\r\nOutput from ember version --verbose:\r\n```\r\nember-cli: 2.5.0\r\nhttp_parser: 2.5.2\r\nnode: 4.4.0\r\nv8: 4.5.103.35\r\nuv: 1.8.0\r\nzlib: 1.2.8\r\nares: 1.10.1-DEV\r\nicu: 56.1\r\nmodules: 46\r\nopenssl: 1.0.2g\r\nos: linux x64\r\n```\r\n\r\nI'm not sure if this is related with #5908 , but looks like it."}}
{"actor":{"display_login":"morhook"}}