{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/12719","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/12719/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/12719/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/12719/events","html_url":"https://github.com/angular/angular-cli/issues/12719","id":373153901,"node_id":"MDU6SXNzdWUzNzMxNTM5MDE=","number":12719,"title":"NodePackageInstallTask not triggered after app generation","user":{"login":"klemenoslaj","id":7548247,"node_id":"MDQ6VXNlcjc1NDgyNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/7548247?v=4","gravatar_id":"","url":"https://api.github.com/users/klemenoslaj","html_url":"https://github.com/klemenoslaj","followers_url":"https://api.github.com/users/klemenoslaj/followers","following_url":"https://api.github.com/users/klemenoslaj/following{/other_user}","gists_url":"https://api.github.com/users/klemenoslaj/gists{/gist_id}","starred_url":"https://api.github.com/users/klemenoslaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klemenoslaj/subscriptions","organizations_url":"https://api.github.com/users/klemenoslaj/orgs","repos_url":"https://api.github.com/users/klemenoslaj/repos","events_url":"https://api.github.com/users/klemenoslaj/events{/privacy}","received_events_url":"https://api.github.com/users/klemenoslaj/received_events","type":"User","site_admin":false},"labels":[{"id":385595266,"node_id":"MDU6TGFiZWwzODU1OTUyNjY=","url":"https://api.github.com/repos/angular/angular-cli/labels/need:%20more%20info","name":"need: more info","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-23T19:04:26Z","updated_at":"2018-10-24T08:55:18Z","closed_at":null,"author_association":"NONE","body":"### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [x] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\n**node**: v8.12.0\r\n**npm**: 6.4.1\r\n**yarn**: 1.10.1\r\n\r\n**Angular CLI**:\r\n**@angular-devkit/architect**    0.10.2\r\n**@angular-devkit/core**         7.0.2\r\n**@angular-devkit/schematics**   7.0.2\r\n**@angular/cli**                 7.0.2\r\n**@schematics/angular**          7.0.2\r\n**@schematics/update**           0.10.2\r\n**rxjs**                         6.3.3\r\n**typescript**                   3.1.3\r\n\r\n\r\n### Repro steps\r\n\r\nExecute the following commands in the exact order:\r\n- `ng new foo --create-application false --routing false --style css`\r\n- `cd foo`\r\n- `ng g app playground`\r\n    - _notice here that package.json was updated but package manager was not triggered_\r\n- `ng serve` - **Failure**\r\n\r\nSimply running package manager of choice after will resolve the issue.\r\n\r\n\r\n### The log given by the failure\r\n\r\nAfter `ng serve` is triggered Angular CLI correctly reports the following error:\r\n`Could not find module \"@angular-devkit/build-angular\" from \"/Relative/path/to/workspace\".`\r\n\r\n\r\n### Desired functionality\r\n\r\nThe same as with library schematic, `NodePackageInstallTask` should be executed as the last task.\r\nProbably `--skip-install` flag in the schema would equally make sense."},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/432572338","html_url":"https://github.com/angular/angular-cli/issues/12719#issuecomment-432572338","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/12719","id":432572338,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjU3MjMzOA==","user":{"login":"alan-agius4","id":17563226,"node_id":"MDQ6VXNlcjE3NTYzMjI2","avatar_url":"https://avatars3.githubusercontent.com/u/17563226?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-agius4","html_url":"https://github.com/alan-agius4","followers_url":"https://api.github.com/users/alan-agius4/followers","following_url":"https://api.github.com/users/alan-agius4/following{/other_user}","gists_url":"https://api.github.com/users/alan-agius4/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-agius4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-agius4/subscriptions","organizations_url":"https://api.github.com/users/alan-agius4/orgs","repos_url":"https://api.github.com/users/alan-agius4/repos","events_url":"https://api.github.com/users/alan-agius4/events{/privacy}","received_events_url":"https://api.github.com/users/alan-agius4/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T08:55:18Z","updated_at":"2018-10-24T08:55:18Z","author_association":"COLLABORATOR","body":"Thanks, for the explanation. I now see the problem."}}
{"actor":{"display_login":"alan-agius4"}}