jogboms/ngx-numeral

Cannot read property 'id' of undefined

1mohammad opened this issue · 2 comments

When I imported NumeralModule.forRoot() inside app.module in ionic i got this error .

core.js:36241 Uncaught TypeError: Cannot read property 'id' of undefined
at registerNgModuleType (core.js:36241)
at core.js:36259
at Array.forEach ()
at registerNgModuleType (core.js:36255)
at new NgModuleFactory$1 (core.js:36420)
at compileNgModuleFactory__POST_R3__ (core.js:42309)
at PlatformRef.bootstrapModule (core.js:42676)
at Module../src/main.ts (main.ts:12)
at webpack_require (bootstrap:84)
at Object.0 (main.ts:13)

Hey @1mohammad

This was originally written for angular v4. I do not think it's still applicable today. Its a fairly simple plugin so I would accept a PR if you can manage to bump up the versions. I do not use Angular anymore and won't be able to help out here.

Closed by #4