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 to create an Angular 6 project with latest version of generator-ngx-rocket #484

Closed
1 task done
ayoubkhan558-zz opened this issue Jun 22, 2019 · 2 comments
Closed
1 task done

Comments

@ayoubkhan558-zz
Copy link

ayoubkhan558-zz commented Jun 22, 2019

I'm submitting a...

  • Documentation issue or request

Current behavior

Currently when i try to create a new Angular project with ngx-rokcet it creates an project with Angular 7.

Expected behavior

But i want to create Angular 6 project with latest ngx-rocket library.

@bursauxa
Copy link
Contributor

That scenario is not supported. ngx-rocket only supports one target Angular version at a time (currently 7, but will soon be 8). We could document this further of course, but in fact it is already written in the project's very description, which currently reads:

Extensible Angular 7+ enterprise-grade project generator

This information is also found in the npm description (in package.json).

If you want an older Angular version you should use an older version of ngx-rocket (I think 5.2.x was the last ngx-rocket version that shipped with Angular 6).

@ayoubkhan558-zz
Copy link
Author

I solved this problem by remaining versions in Package.json file and then run this command in cmd in the projec directory.
npm install

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

2 participants