{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/160","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/160/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/160/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/160","id":182989924,"number":160,"title":"Template paths are not resolved correctly","user":{"login":"Manduro","id":2545042,"avatar_url":"https://avatars.githubusercontent.com/u/2545042?v=3","gravatar_id":"","url":"https://api.github.com/users/Manduro","html_url":"https://github.com/Manduro","followers_url":"https://api.github.com/users/Manduro/followers","following_url":"https://api.github.com/users/Manduro/following{/other_user}","gists_url":"https://api.github.com/users/Manduro/gists{/gist_id}","starred_url":"https://api.github.com/users/Manduro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manduro/subscriptions","organizations_url":"https://api.github.com/users/Manduro/orgs","repos_url":"https://api.github.com/users/Manduro/repos","events_url":"https://api.github.com/users/Manduro/events{/privacy}","received_events_url":"https://api.github.com/users/Manduro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"assignees":[{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":34,"created_at":"2016-10-14T08:18:14Z","updated_at":"2016-10-17T16:43:57Z","closed_at":"2016-10-14T21:06:01Z","body":"#### Short description of the problem:\r\nThe watch task fails to start with a lot of errors. It seems to be using a wrong path (`src/src`). It worked on 0.0.30, but fails on 0.0.31 and up.\r\n\r\nIt also seems unable to find `main.dev.ts`, while the path that is logged is correct.\r\n\r\n```\r\n[10:06:18]  ionic-app-scripts 0.0.33 \r\n[10:06:18]  watch started ... MEM: 90.5MB \r\n[10:06:18]  build dev started ... MEM: 90.5MB \r\n[10:06:18]  clean started ... MEM: 90.5MB \r\n[ DEBUG! ]  clean /path/to/app/folder/www/build MEM: 90.5MB \r\n[10:06:18]  clean finished in 6 ms MEM: 90.5MB \r\n[10:06:18]  copy started ... MEM: 90.5MB \r\n[ DEBUG! ]  worker created, task: lint, pid: 3570 MEM: 90.7MB \r\n[10:06:18]  transpile started ... MEM: 90.7MB \r\n[ DEBUG! ]  ts.createProgram, cachedProgram: false MEM: 101.9MB \r\n[ DEBUG! ]  tslint config: /path/to/app/folder/tslint.json MEM: 53.5MB \r\n[10:06:19]  lint started ... MEM: 53.7MB \r\n//\r\n// This repeats for all of my pages and components that are using a template file:\r\n//\r\n[10:06:28]  template error, \"/path/to/app/folder/src/src/components/calendar/calendar.html\":  MEM: 253.4MB\r\n\r\n            Error: ENOENT: no such file or directory, open '/path/to/app/folder/src/src/components/calendar/calendar.html' \r\n[10:06:28]  template error, \"/path/to/app/folder/src/src/pages/calendar/calendar.html\":  MEM: 253.4MB\r\n            Error: ENOENT: no such file or directory, open '/path/to/app/folder/src/src/pages/calendar/calendar.html' \r\n\r\n[10:06:28]  template error, \"/path/to/app/folder/src/src/app/app.template.html\": Error:  MEM: 256.3MB\r\n\r\n            ENOENT: no such file or directory, open '/path/to/app/folder/src/src/app/app.template.html' \r\n\r\n[ DEBUG! ]  Error matching component: Component({ templateUrl: 'app.template.html' }) MEM: 256.3MB \r\n//\r\n// End repeat\r\n//\r\n[10:06:28]  transpile finished in 9.78 s MEM: 256.4MB \r\n[10:06:28]  bundle started ... MEM: 256.4MB \r\n[ DEBUG! ]  entry: /path/to/app/folder/src/app/main.dev.ts, dest: /path/to/app/folder/www/build/main.js, \r\n            cache: undefined, format: iife MEM: 256.4MB \r\nunable to find /path/to/app/folder/src/app/main.dev.ts\r\n\r\n[10:06:28]  copy finished in 9.91 s MEM: 256.8MB \r\n[10:06:32]  lint finished in 13.04 s MEM: 215.8MB \r\n[ DEBUG! ]  worker resolve, task: lint, pid: 3570 MEM: 215.8MB \r\n[ DEBUG! ]  worker exited, task: lint, pid: 3570 MEM: 319.9MB \r\n(node:3569) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Could not resolve './app.module' from /path/to/app/folder/src/app/main.dev.ts\r\n\r\nRunning live reload server: http://localhost:35729\r\nWatching: www/**/*, !www/lib/**/*\r\n√ Running dev server:  http://localhost:8100\r\n```\r\n\r\n**Which @ionic/app-scripts version are you using?**\r\n0.0.33\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/254263116","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/160#issuecomment-254263116","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/160","id":254263116,"user":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T16:43:57Z","updated_at":"2016-10-17T16:43:57Z","body":"@morrisonbrett,\r\n\r\nCan you paste the rest of your console output? It seems like the `ngc` build is not succeeding. Can you look in check for `app.module.ngfactory.js` in the `.tmp` directory?\r\n\r\nThanks,\r\nDan"}}
{"actor":{"display_login":"danbucholtz"}}