ngx-restangular icon indicating copy to clipboard operation
ngx-restangular copied to clipboard

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

Open preethi10061 opened this issue 3 years ago • 1 comments

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

preethi10061 avatar Mar 14 '22 10:03 preethi10061

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

markb-trustifi avatar Apr 28 '22 08:04 markb-trustifi