Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0.0 upgrade to 7.0.1 is unsuccessful #3057

Closed
HelloValue opened this issue Mar 10, 2019 · 7 comments
Closed

7.0.0 upgrade to 7.0.1 is unsuccessful #3057

HelloValue opened this issue Mar 10, 2019 · 7 comments

Comments

@HelloValue
Copy link

Steps to reproduce

I use the following command to upgrade.
ng update
Name Version Command to update
--------------------------------------------------------------------------------
@angular/cli 7.3.4 -> 7.3.5 ng update @angular/cli
@angular/core 7.2.7 -> 7.2.8 ng update @angular/core
ng-zorro-antd 7.0.0 -> 7.0.1 ng update ng-zorro-antd
ng update ng-zorro-antd
Package "ng-zorro-antd" has a missing peer dependency of "@angular/cdk" @ "^7.3.0".
Incompatible peer dependencies found. See above.

What is expected?

upgrade to 7.0.1

What is actually happening?

Error:
Package "ng-zorro-antd" has a missing peer dependency of "@angular/cdk" @ "^7.3.0".
Incompatible peer dependencies found. See above.

Environment Info
ng-zorro-antd 7.0.1
Browser Chrome 71.0

this is my angular version

Angular CLI: 7.3.4
Node: 8.11.3
OS: win32 x64
Angular: 7.2.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.6.8
@angular-devkit/build-angular 0.6.8
@angular-devkit/build-optimizer 0.6.8
@angular-devkit/core 0.6.8
@angular-devkit/schematics 7.3.4
@angular/cdk 7.3.3
@angular/cli 7.3.4
@ngtools/webpack 6.0.8
@schematics/angular 7.3.4
@schematics/update 0.13.4
rxjs 6.4.0
typescript 3.2.4
webpack 4.8.3

@wzhudev
Copy link
Member

wzhudev commented Mar 10, 2019

Follow the instruction to install cdk@7.3.0 and try again.

@wzhudev wzhudev closed this as completed Mar 10, 2019
@HelloValue
Copy link
Author

Follow the instruction to install cdk@7.3.0 and try again.
must be @cdk 7.3.0 ? @cdk 7.3.3 not?

@wzhudev
Copy link
Member

wzhudev commented Mar 11, 2019

@HelloValue
Copy link
Author

@HelloValue 7.3.3 is OK. See https://michaelsoolee.com/npm-package-tilde-caret/ .

I'm so sorry. I ignored a "^" symbol in the prompt.
So,i use "ng version" command can see my @angular/cdk version is 7.3.3.but i can‘t upgrade.
Where is my problem?
Thanks.

@hsuanxyz hsuanxyz reopened this Mar 11, 2019
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Mar 11, 2019
@hsuanxyz
Copy link
Member

Ref: angular/angular-cli#12261

@hsuanxyz
Copy link
Member

@HelloValue 7.0.0 upgrade to 7.0.1 only need do npm i ng-zorro-antd@latest.

@HelloValue
Copy link
Author

@hsuanxyz , thank you. npm i ng-zorro-antd@latest it works.
although have some errors. but it's upgrade successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants