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
- [x] help
- [ ] version
- [ ] doc
Versions
Angular CLI: 7.0.0-rc.1
Node: 10.11.0
OS: darwin x64
Angular: 7.0.0-rc.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.9.0-rc.1
@angular-devkit/build-angular 0.9.0-rc.1
@angular-devkit/build-optimizer 0.9.0-rc.1
@angular-devkit/build-webpack 0.9.0-rc.1
@angular-devkit/core 7.0.0-rc.1
@angular-devkit/schematics 7.0.0-rc.1
@angular/cli 7.0.0-rc.1
@ngtools/webpack 7.0.0-rc.1
@schematics/angular 7.0.0-rc.1
@schematics/update 0.9.0-rc.1
rxjs 6.3.3
typescript 3.1.1
webpack 4.19.1
Repro steps
ng new foobar
cd foobar
ng update --help
The log given by the failure
> ng update --help
options:
--all
Whether to update all packages in package.json.
--dry-run (-d)
Run through without making any changes.
--force
If false, will error out if installed packages are incompatible with the update.
--from
Version from which to migrate from. Only available with a single package being updated, and only on migration only.
--help
Shows a help message. You can pass the format as a value.
--migrate-only
Only perform a migration, does not update the installed version.
--next
Use the largest version, including beta and RCs.
--packages
The packages to get.
--packages
The names of package(s) to update
--registry
The NPM registry to use.
--to
Version up to which to apply migrations. Only available with a single package being updated, and only on migrations only. Requires from to be specified. Default to the installed version detected.
--packages is displayed twice.
--packages
The packages to get.
--packages
The names of package(s) to update
Desired functionality
Mention any other details that might be useful
Bug Report or Feature Request (mark with an
x)Command (mark with an
x)Versions
Repro steps
ng new foobarcd foobarng update --helpThe log given by the failure
--packagesis displayed twice.Desired functionality
Mention any other details that might be useful