{"action":"created","issue":{"url":"https://api.github.com/repos/qdouble/angular2webpack2-starter/issues/70","repository_url":"https://api.github.com/repos/qdouble/angular2webpack2-starter","labels_url":"https://api.github.com/repos/qdouble/angular2webpack2-starter/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/qdouble/angular2webpack2-starter/issues/70/comments","events_url":"https://api.github.com/repos/qdouble/angular2webpack2-starter/issues/70/events","html_url":"https://github.com/qdouble/angular2webpack2-starter/issues/70","id":179284066,"number":70,"title":"AoT compilation problem","user":{"login":"buddyackerman","id":8039125,"avatar_url":"https://avatars.githubusercontent.com/u/8039125?v=3","gravatar_id":"","url":"https://api.github.com/users/buddyackerman","html_url":"https://github.com/buddyackerman","followers_url":"https://api.github.com/users/buddyackerman/followers","following_url":"https://api.github.com/users/buddyackerman/following{/other_user}","gists_url":"https://api.github.com/users/buddyackerman/gists{/gist_id}","starred_url":"https://api.github.com/users/buddyackerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buddyackerman/subscriptions","organizations_url":"https://api.github.com/users/buddyackerman/orgs","repos_url":"https://api.github.com/users/buddyackerman/repos","events_url":"https://api.github.com/users/buddyackerman/events{/privacy}","received_events_url":"https://api.github.com/users/buddyackerman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-26T17:05:36Z","updated_at":"2016-09-26T18:16:11Z","closed_at":null,"body":"My first issue is to know if the build:aot script is even doing AoT compilation.  I don't see ngc being called anywhere but for now I will assume that somewhere webpack is being configured to run it (possibly via some package I'm not understanding).  My second issue is that I added the PrimeNG package to the project and added the following to the app.module and applied the directive to a new element that I placed in the dashboard template,\r\n\r\n`    \r\n    import { InputText } from 'primeng/primeng'`\r\n\r\n`    \r\n    @NgModule({\r\n      declarations: [\r\n        AppComponent,\r\n        APP_DECLERATIONS,\r\n        InputText\r\n      ],\r\n`\r\n\r\nWhen I try to run `npm run build:aot` I get errors on all the PNG components similar to the follwing\r\n\r\n>WARNING in ./~/primeng/components/inputtext/inputtext.js\r\nCannot find source file 'inputtext.ts': Error: Can't resolve './inputtext.ts' in 'C:\\Projects\\Angular2\\angular2webpack2-starter\\node_modules\\primeng\\components\\inputtext'\r\n @ ./~/primeng/primeng.js 33:9-52\r\n @ ./src/app/app.module.ts\r\n @ ./src/compiled/src/app/app.module.ngfactory.ts\r\n @ ./src/main.browser.aot.ts\r\n\r\nThere is not _componentname_.ts file but there are _componentname_..d.ts files.  Is it just that PNG is not properly setup for AoT or is there a problem with the AoT compilation configuration?\r\n"},"comment":{"url":"https://api.github.com/repos/qdouble/angular2webpack2-starter/issues/comments/249651786","html_url":"https://github.com/qdouble/angular2webpack2-starter/issues/70#issuecomment-249651786","issue_url":"https://api.github.com/repos/qdouble/angular2webpack2-starter/issues/70","id":249651786,"user":{"login":"qdouble","id":10415224,"avatar_url":"https://avatars.githubusercontent.com/u/10415224?v=3","gravatar_id":"","url":"https://api.github.com/users/qdouble","html_url":"https://github.com/qdouble","followers_url":"https://api.github.com/users/qdouble/followers","following_url":"https://api.github.com/users/qdouble/following{/other_user}","gists_url":"https://api.github.com/users/qdouble/gists{/gist_id}","starred_url":"https://api.github.com/users/qdouble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qdouble/subscriptions","organizations_url":"https://api.github.com/users/qdouble/orgs","repos_url":"https://api.github.com/users/qdouble/repos","events_url":"https://api.github.com/users/qdouble/events{/privacy}","received_events_url":"https://api.github.com/users/qdouble/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T18:16:11Z","updated_at":"2016-09-26T18:16:11Z","body":"@buddyackerman PrimeNG probably isn't AOT compatible yet: https://github.com/primefaces/primeng/issues/871\r\n\r\nProbably would be best to track/file the issue on their repo if the app works fine in AOT mode without using them."}}
{"actor":{"display_login":"qdouble"}}