{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/15575","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/15575/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/15575/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/15575/events","html_url":"https://github.com/angular/angular-cli/issues/15575","id":492073620,"node_id":"MDU6SXNzdWU0OTIwNzM2MjA=","number":15575,"title":"Cannot read property 'kind' of undefined for ng add @nguniversal/express-engine","user":{"login":"nnworkspace","id":8641956,"node_id":"MDQ6VXNlcjg2NDE5NTY=","avatar_url":"https://avatars3.githubusercontent.com/u/8641956?v=4","gravatar_id":"","url":"https://api.github.com/users/nnworkspace","html_url":"https://github.com/nnworkspace","followers_url":"https://api.github.com/users/nnworkspace/followers","following_url":"https://api.github.com/users/nnworkspace/following{/other_user}","gists_url":"https://api.github.com/users/nnworkspace/gists{/gist_id}","starred_url":"https://api.github.com/users/nnworkspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnworkspace/subscriptions","organizations_url":"https://api.github.com/users/nnworkspace/orgs","repos_url":"https://api.github.com/users/nnworkspace/repos","events_url":"https://api.github.com/users/nnworkspace/events{/privacy}","received_events_url":"https://api.github.com/users/nnworkspace/received_events","type":"User","site_admin":false},"labels":[{"id":385595233,"node_id":"MDU6TGFiZWwzODU1OTUyMzM=","url":"https://api.github.com/repos/angular/angular-cli/labels/need:%20repro%20steps","name":"need: repro steps","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-09-11T07:49:28Z","updated_at":"2019-10-28T08:03:31Z","closed_at":"2019-09-26T11:32:46Z","author_association":"NONE","body":"<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->\r\n\r\n\r\n# 🐞 Bug report\r\n\r\n### Command (mark with an `x`)\r\n<!-- Can you pin-point the command or commands that are effected by this bug? -->\r\n<!-- ✍️edit: -->\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [x] 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### Is this a regression?\r\n\r\n<!-- Did this behavior use to work in the previous version? -->\r\nThis used to work with Angular CLI v8.0\r\n\r\n\r\n### Description\r\n\r\nTrying to use Angular Universal. \r\n\r\nThe add command:\r\n```\r\nng add @nguniversal/express-engine --clientProject my-project\r\n```\r\nsimply failed to create the file `app.server.module.ts` with the message:\r\n\r\n> Cannot read property 'kind' of undefined\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\n1. Simply grab an Angular project which does not use Angular Universal yet\r\n2. cd into the project root, and run this command: \r\n```\r\nng add @nguniversal/express-engine --clientProject my-project\r\n\r\n```\r\n\r\n## 🔥 Exception or Error\r\nThe command above terminated with this message:\r\n\r\n<pre><code>\r\nInstalled packages for tooling via npm.\r\nCannot read property 'kind' of undefined\r\n</code></pre>\r\n\r\n\r\n## 🌍 Your Environment\r\n<pre><code>\r\nAngular CLI: 8.3.3\r\nNode: 10.16.0\r\nOS: win32 x64\r\nAngular: 8.2.5\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.801.3\r\n@angular-devkit/build-angular     0.801.3\r\n@angular-devkit/build-optimizer   0.801.3\r\n@angular-devkit/build-webpack     0.801.3\r\n@angular-devkit/core              8.1.3\r\n@angular-devkit/schematics        8.3.3\r\n@angular/cdk                      8.2.0\r\n@angular/cli                      8.3.3\r\n@angular/flex-layout              8.0.0-beta.27\r\n@angular/material                 8.2.0\r\n@ngtools/webpack                  8.1.3\r\n@nguniversal/express-engine       8.1.1\r\n@schematics/angular               8.3.3\r\n@schematics/update                0.803.3\r\nrxjs                              6.5.3\r\ntypescript                        3.4.5\r\nwebpack                           4.35.2\r\n\r\n</code></pre>\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/546834138","html_url":"https://github.com/angular/angular-cli/issues/15575#issuecomment-546834138","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/15575","id":546834138,"node_id":"MDEyOklzc3VlQ29tbWVudDU0NjgzNDEzOA==","user":{"login":"angular-automatic-lock-bot[bot]","id":54863671,"node_id":"MDM6Qm90NTQ4NjM2NzE=","avatar_url":"https://avatars0.githubusercontent.com/in/40213?v=4","gravatar_id":"","url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D","html_url":"https://github.com/apps/angular-automatic-lock-bot","followers_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/followers","following_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/repos","events_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-10-28T08:03:31Z","updated_at":"2019-10-28T08:03:31Z","author_association":"NONE","body":"This issue has been automatically locked due to inactivity.\nPlease file a new issue if you are encountering a similar or related problem.\n\nRead more about our [automatic conversation locking policy](https://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking).\n\n<sub>_This action has been performed automatically by a bot._</sub>"}}
{"actor":{"display_login":"angular-automatic-lock-bot"}}