2muchcoffeecom / ngx-restangular

Restangular for Angular 2 and higher versions
https://2muchcoffee.com/ngxrestangular-app-development
MIT License
781 stars 110 forks source link

Uncaught Error: Type RestangularModule does not have 'ɵmod' property. #221

Open preethi10061 opened 2 years ago

preethi10061 commented 2 years ago

When i update from angular 12 to 13, the code got compiled successfully but while running the application, in console, the above error message is coming.

image

Using "ngx-restangular": "^6.0.0",

Added the RestangularModule.forRoot() in app.module under imports

Please help me resolve this issue

markb-trustifi commented 2 years ago

If you are building the angular app with webpack you have to run NGCC compiler after installing NPM dependencies: ngcc --properties es6 module main --first-only