akveo / ngx-admin

Customizable admin dashboard template based on Angular 10+
https://akveo.github.io/ngx-admin/
MIT License
25.29k stars 7.96k forks source link

Upgrade to Angular 16 #6009

Open Yasmenmohamedali opened 1 year ago

Yasmenmohamedali commented 1 year ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior: I noticed that ngx-admin was upgraded to Angular 15 and not Angular 16 is there any reason that ngx-admin is not using Angular 16 or should we except the upgrade anytime soon? @denStrigo

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->
prusama commented 12 months ago

I would be happy too if this was upgraded to Angular 16. Btw if you do not want to wait, I have temporary solution:

  1. Run ng update @angular/core@16 @angular/cli@16 --allow-dirty --force
  2. Downgrade ws dependency npm i @types/ws@8.5.4 --legacy-peer-deps otherwise compiler will get mad about generic type issue.
  3. Enjoy the ngx-admin with Angular 16.
nikesh9220 commented 11 months ago

Yes, It would be great if we update it to Angular 16 and then 17.

nook24 commented 7 months ago

Any news about adding support for Angular 17? I mean, Angular 18 will be released in May I guess.

PerryCodes commented 1 month ago

Angular 18 is out. So this is now THREE versions out-of-date.

koo9 commented 1 month ago

there are lots of legacy dependencies in the project, even with the latest release v11, they are still there. wonder if there are plans to bring all dependencies up to date.

GiKyouGetsu commented 1 month ago

there are lots of legacy dependencies in the project, even with the latest release v11, they are still there. wonder if there are plans to bring all dependencies up to date.

Can not agree more!!

koo9 commented 1 month ago

release v11 from here still has the node-saas dependency issue when build, the way to get around it is to upgrade node-saas to saad (follow the instruction in this link here how to upgrade node-saas to saad, after upgrading saas, run npm install --legacy-peer-deps will install all dependencies properly then run npm start to test the admin console. V11 is using angular v15.2.10, so after that you can upgrade to the latest version if you will.

GiKyouGetsu commented 1 month ago

release v11 from here still has the node-saas dependency issue when build, the way to get around it is to upgrade node-saas to saad (follow the instruction in this link here how to upgrade node-saas to saad, after upgrading saas, run npm install --legacy-peer-deps will install all dependencies properly then run npm start to test the admin console. V11 is using angular v15.2.10, so after that you can upgrade to the latest version if you will.

After I upgrade to Angular 15, I get the build issue like below: ./src/app/@theme/styles/styles.scss?ngGlobalStyle:1:0 - Error: Module parse failed: Unexpected character '@' (1:0) File was processed with these loaders:

So the v11 is not work for now, right ? there are some build issues

koo9 commented 1 month ago

v11 is working for me after upgrading to saas.

koo9 commented 1 month ago

release v11 from here still has the node-saas dependency issue when build, the way to get around it is to upgrade node-saas to saad (follow the instruction in this link here how to upgrade node-saas to saad, after upgrading saas, run npm install --legacy-peer-deps will install all dependencies properly then run npm start to test the admin console. V11 is using angular v15.2.10, so after that you can upgrade to the latest version if you will.

After I upgrade to Angular 15, I get the build issue like below: ./src/app/@theme/styles/styles.scss?ngGlobalStyle:1:0 - Error: Module parse failed: Unexpected character '@' (1:0) File was processed with these loaders:

  • ./node_modules/resolve-url-loader/index.js
  • ./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/dist/cjs.js You may need an additional loader to handle the result of these loaders.

@charset "UTF-8"; | /* | Declare variables before making them global.

So the v11 is not work for now, right ? there are some build issues

did you download v11 directly or you upgrade from other version?

koo9 commented 1 month ago

if you follow the instructions in my comment, it works.

koo9 commented 3 weeks ago

for those who are still having trouble running the app, check out this repo here https://github.com/koo9/ngx-admin