Reputation: 379
I'm trying to run npm start for an Angular project but I'm getting this error and my attempt to Google-search the issue/solution wasn't successful. I'm using Angular CLI: 14.2.4
Upvotes: -1
Views: 451
Reputation: 69
The issue appears in the production build only after upgrading to ionic 7, ; eg ionic build --prod; or ionic build --configuration="production"
For ionic serve and ng serve , ionic build / ng build works fine;
compiling with for production with --prod; or --configuration="production" compresses app size and i am also stuck at this.
Upvotes: 0
Reputation: 1517
The npm start
contains [email protected] start
.
According to the releases page of ngx-admin, it looks like you are 4 major versions behind, and the support for Angular v14.x came with ngx-admin v8.
Update ngx-admin
or simply go to the installation guidelines and follow the instructions.
Since the project was started 3 years ago, you have to downgrade your Angular version to Angular v9, which I think was the one compatible with [email protected]
.
Upvotes: 2