-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
needs: more infoReporter must clarify the issueReporter must clarify the issue
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x
)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [x] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
Node: v10.10.0
NPM 6.4.1
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 6.2.2
Node: 10.10.0
OS: darwin x64
Angular: 6.1.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.8.2
@angular-devkit/build-angular 0.8.2
@angular-devkit/build-ng-packagr 0.8.2
@angular-devkit/build-optimizer 0.8.2
@angular-devkit/build-webpack 0.8.2
@angular-devkit/core 0.8.2
@angular-devkit/schematics 0.8.2
@angular/cli 6.2.2
@ngtools/json-schema 1.1.0
@ngtools/webpack 6.2.2
@schematics/angular 0.8.2
@schematics/update 0.8.2
ng-packagr 4.1.1
rxjs 6.2.2
typescript 2.9.2
webpack 4.19.0
Repro steps
run ng update
The log given by the failure
WARNING: 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':
- Line: 12; Column: 10
- Line: 126; Column: 10
- Line: 155; Column: 10
- Line: 190; Column: 10
Desired functionality
Making 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.
Mention any other details that might be useful
Caused by this change:
9e7391c#diff-9dfd89ed6a15b8cb93c53b62edc7eb85
Metadata
Metadata
Assignees
Labels
needs: more infoReporter must clarify the issueReporter must clarify the issue