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

how can apply 4.0.0-beta? #3720

Closed
goldenbearkin opened this issue Dec 23, 2016 · 5 comments
Closed

how can apply 4.0.0-beta? #3720

goldenbearkin opened this issue Dec 23, 2016 · 5 comments

Comments

@goldenbearkin
Copy link

goldenbearkin commented Dec 23, 2016

angular-cli: 1.0.0-beta.24
node: 6.9.1
os: darwin x64
@angular/common: 4.0.0-beta.1
@angular/compiler: 4.0.0-beta.1
@angular/core: 4.0.0-beta.1
@angular/flex-layout: 2.0.0-beta.0
@angular/forms: 4.0.0-beta.1
@angular/http: 4.0.0-beta.1
@angular/material: 2.0.0-beta.0
@angular/platform-browser: 4.0.0-beta.1
@angular/platform-browser-dynamic: 4.0.0-beta.1
@angular/router: 3.4.1
@angular/compiler-cli: 4.0.0-beta.1

Run 'ng serve' yields

This version of CLI is only compatible with angular version 2.3.1 or better. Please
upgrade your angular version, e.g. by running:

npm install @angular/core@latest
@rdrrichards
Copy link

Just tried this a minute ago, same issue. Rolled back to cli 1.0.0-beta.21 to get ng serve to work with 4.0.0-beta.1.

@goldenbearkin goldenbearkin changed the title how can use 4.0.0-beta? how can apply 4.0.0-beta? Dec 23, 2016
@xgqfrms-GitHub
Copy link

the ng2-cli need to be update sync with the ng2 4.x!

@abdulhaq-e
Copy link
Contributor

I have submitted a PR that should fix this error. However, other things that I may not be aware of may need to be changed for V4.

@JohannesHoppe
Copy link
Contributor

I created a small fork for very impatient people:
https://github.com/angular-buch/angular-cli-ng4

It includes the required fix and has an updated ng new blueprint, too.

MRHarrison pushed a commit to MRHarrison/angular-cli that referenced this issue Feb 9, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants