{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/12279","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/12279/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/12279/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/12279/events","html_url":"https://github.com/angular/angular-cli/issues/12279","id":360462588,"node_id":"MDU6SXNzdWUzNjA0NjI1ODg=","number":12279,"title":"Warning from ng update","user":{"login":"fluky","id":1176416,"node_id":"MDQ6VXNlcjExNzY0MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1176416?v=4","gravatar_id":"","url":"https://api.github.com/users/fluky","html_url":"https://github.com/fluky","followers_url":"https://api.github.com/users/fluky/followers","following_url":"https://api.github.com/users/fluky/following{/other_user}","gists_url":"https://api.github.com/users/fluky/gists{/gist_id}","starred_url":"https://api.github.com/users/fluky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluky/subscriptions","organizations_url":"https://api.github.com/users/fluky/orgs","repos_url":"https://api.github.com/users/fluky/repos","events_url":"https://api.github.com/users/fluky/events{/privacy}","received_events_url":"https://api.github.com/users/fluky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-14T21:37:07Z","updated_at":"2018-09-15T00:34:09Z","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- [ ] generate\r\n- [ ] add\r\n- [x] 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\nNode: v10.10.0\r\nNPM 6.4.1\r\n\r\n```\r\n     _                      _                 ____ _     ___\r\n    / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n   / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n  / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n /_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n                |___/\r\n    \r\n\r\nAngular CLI: 6.2.2\r\nNode: 10.10.0\r\nOS: darwin x64\r\nAngular: 6.1.7\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage                            Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect          0.8.2\r\n@angular-devkit/build-angular      0.8.2\r\n@angular-devkit/build-ng-packagr   0.8.2\r\n@angular-devkit/build-optimizer    0.8.2\r\n@angular-devkit/build-webpack      0.8.2\r\n@angular-devkit/core               0.8.2\r\n@angular-devkit/schematics         0.8.2\r\n@angular/cli                       6.2.2\r\n@ngtools/json-schema               1.1.0\r\n@ngtools/webpack                   6.2.2\r\n@schematics/angular                0.8.2\r\n@schematics/update                 0.8.2\r\nng-packagr                         4.1.1\r\nrxjs                               6.2.2\r\ntypescript                         2.9.2\r\nwebpack                            4.19.0\r\n```\r\n\r\n### Repro steps\r\nrun ng update\r\n\r\n### The log given by the failure\r\nWARNING: This command may not execute successfully. The package/collection may not support the 'targets' field within '/Users/e041115/dev/dispute/ui/angular.json'. This can be corrected by renaming the following 'targets' fields to 'architect':\r\n1) Line: 12; Column: 10\r\n2) Line: 126; Column: 10\r\n3) Line: 155; Column: 10\r\n4) Line: 190; Column: 10\r\n\r\n### Desired functionality\r\nMaking these changes is causes ng update not to warn but then all other commands fail as the angular.json file no longer conforms to the schema.  Either update the schema or remove this warning.\r\n\r\n### Mention any other details that might be useful\r\nCaused by this change: \r\nhttps://github.com/angular/angular-cli/commit/9e7391c685e7b296e68e21fedb1cc7989a9405c8#diff-9dfd89ed6a15b8cb93c53b62edc7eb85\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/421516984","html_url":"https://github.com/angular/angular-cli/issues/12279#issuecomment-421516984","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/12279","id":421516984,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTUxNjk4NA==","user":{"login":"fluky","id":1176416,"node_id":"MDQ6VXNlcjExNzY0MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1176416?v=4","gravatar_id":"","url":"https://api.github.com/users/fluky","html_url":"https://github.com/fluky","followers_url":"https://api.github.com/users/fluky/followers","following_url":"https://api.github.com/users/fluky/following{/other_user}","gists_url":"https://api.github.com/users/fluky/gists{/gist_id}","starred_url":"https://api.github.com/users/fluky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluky/subscriptions","organizations_url":"https://api.github.com/users/fluky/orgs","repos_url":"https://api.github.com/users/fluky/repos","events_url":"https://api.github.com/users/fluky/events{/privacy}","received_events_url":"https://api.github.com/users/fluky/received_events","type":"User","site_admin":false},"created_at":"2018-09-15T00:34:09Z","updated_at":"2018-09-15T00:34:09Z","author_association":"NONE","body":"```\r\n 10          \"prefix\": \"app\",\r\n 11          \"schematics\": {},\r\n 12          \"targets\": {\r\n 13             \"build\": {\r\n 14                \"builder\": \"@angular-devkit/build-angular:browser\",\r\n```\r\n```\r\n124          \"root\": \"e2e/\",\r\n125          \"projectType\": \"application\",\r\n126          \"targets\": {\r\n127             \"e2e\": {\r\n128                \"builder\": \"@angular-devkit/build-angular:protractor\",\r\n```\r\n```\r\n153          \"projectType\": \"library\",\r\n154          \"prefix\": \"lib\",\r\n155          \"targets\": {\r\n156             \"build\": {\r\n157                \"builder\": \"@angular-devkit/build-ng-packagr:build\",\r\n```\r\n```\r\n188          \"projectType\": \"library\",\r\n189          \"prefix\": \"lib\",\r\n190          \"targets\": {\r\n191             \"build\": {\r\n192                \"builder\": \"@angular-devkit/build-ng-packagr:build\",\r\n193                \"options\": {\r\n```"}}
{"actor":{"display_login":"fluky"}}