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

cannot upgrade project to angular 6.0 #1679

Closed
1 of 3 tasks
KissBalazs opened this issue May 8, 2018 · 2 comments
Closed
1 of 3 tasks

cannot upgrade project to angular 6.0 #1679

KissBalazs opened this issue May 8, 2018 · 2 comments

Comments

@KissBalazs
Copy link

Issue type

I'm submitting a ...

  • bug report
  • feature request
  • question about the decisions made in the repository

Issue description

Current behavior:
ng update @angular/core does not compile in my project, which uses ngx-admin template.

I get the following error:
Invalid range: ">=2.1.0"

Expected behavior:
To be able to update.

Steps to reproduce:
ng update --all
or
ng update @angular/core

Other information:

Angular CLI: 6.0.0                                                                                                                                                                                                                                                             
Node: 9.4.0                                                                                                                                                                                                                                                                    
OS: linux x64                                                                                                                                                                                                                                                                  
Angular: 6.0.0                                                                                                                                                                                                                                                                 
... cli, compiler, core                                                                                                                                                                                                                                                        

Package                             Version                                                                                                                                                                                                                                    
-------------------------------------------------------------                                                                                                                                                                                                                  
@angular-devkit/architect           0.6.0                                                                                                                                                                                                                                      
@angular-devkit/build-angular       0.6.0                                                                                                                                                                                                                                      
@angular-devkit/build-optimizer     0.6.0                                                                                                                                                                                                                                      
@angular-devkit/core                0.6.0                                                                                                                                                                                                                                      
@angular-devkit/schematics          0.6.0                                                                                                                                                                                                                                      
@angular/animations                 5.2.10
@angular/common                     5.2.10
@angular/compiler-cli               5.2.10
@angular/forms                      5.2.10
@angular/http                       5.2.10
@angular/platform-browser           5.2.10
@angular/platform-browser-dynamic   5.2.10
@angular/platform-server            5.2.10
@angular/router                     5.2.10
@ngtools/webpack                    6.0.0
@schematics/angular                 0.6.0
@schematics/update                  0.6.0
rxjs                                6.1.0
typescript                          2.8.3
webpack                             4.6.0
@b0bi79
Copy link

b0bi79 commented May 8, 2018

Temporary Workaround (Source):

  1. Update manually the angular packages to 6.0.0
  2. ng update rxjs
  3. ng update angular/core
  4. ng update angular/material
  5. if ng update installs typescript 2.8.3 you have to install typescript version 2.7.2. angular compiler doesn;t work with 2.8.3

@nnixaa
Copy link
Collaborator

nnixaa commented May 15, 2018

Hey Guys, the latest 2.2.0 release supports Angular 6.

@nnixaa nnixaa closed this as completed May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants