Open detonimarco opened 4 years ago
Same error here!
Same error here:
JavaScript error: file:///node_modules/@angular/core/fesm5/core.js:1524:0: JS ERROR Error: Type TNSFontIconModule does not have 'ngModuleDef' property. (CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Type TNSFontIconModule does not have 'ngModuleDef' property. at getNgModuleDef(file:///node_modules/@angular/core/fesm5/core.js:1524:0) at file:///node_modules/@angular/core/fesm5/core.js:1355:0 at noSideEffects(file:///node_modules/@angular/core/fesm5/core.js:1163:0) at file:///node_modules/nativescript-ngx-fonticon/nativescript-ngx-fonticon.js:26:14 at ../node_modules/nativescript-ngx-fonticon/nativescript-ngx-fonticon.js(file:///node_modules/nativescript-ngx-fonticon/nativescript-ngx-fonticon.js:28:50) at __webpack_require__(file:///src/webpack/bootstrap:750:0) at fn(file:///src/webpack/bootstrap:120:0) at ../node_modules/nativescript-ngx-fonticon/index.js(file:///node_modules/nativescript-ngx-fonticon/index.js:9:42) at __webpack_require__(file:///src/webpack/bootstrap:750:0) at fn(file:///src/webpack/bootstrap:120:0) at ./app/app.module.ts(file:///src/app/app.module.ts:1:0) at __webpack_require__(file:///src/webpack/bootstrap:750:0) at fn(file:///src/webpack/bootstrap:120:0) at file:///app/bundle.js:462:92 at ./main.ts(file:///app/bundle.js:534:34) at __webpack_require__(file:///src/webpack/bootstrap:750:0) at checkDeferredModules(file:///app/runt<…> NativeScript caught signal 6.
same error!
avaScript error: file: node_modules/@angular/core/fesm5/core.js:1524:0: JS ERROR Error: Type TNSFontIconModule does not have 'ngModuleDef' property. (CoreFoundation) ** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Type TNSFontIconModule does not have 'ngModuleDef' property. at getNgModuleDef(file: node_modules/@angular/core/fesm5/core.js:1524:0) at file: node_modules/@angular/core/fesm5/core.js:1355:0 at noSideEffects(file: node_modules/@angular/core/fesm5/core.js:1163:0) at file: node_modules/nativescript-ngx-fonticon/nativescript-ngx-fonticon.js:26:14 at ../node_modules/nativescript-ngx-fonticon/nativescript-ngx-fonticon.js(file: node_modules/nativescript-ngx-fonticon/nativescript-ngx-fonticon.js:28:50) at webpack_require(file: src/webpack/bootstrap:750:0) at fn(file: src/webpack/bootstrap:120:0) at ../node_modules/nativescript-ngx-fonticon/index.js(file: node_modules/nativescript-ngx-fonticon/index.js:9:42) at webpack_require(file: src/webpack/bootstrap:750:0) at fn(file: src/webpack/bootstrap:120:0) at ./app/app.module.ts(file: src/app/app.module.ts:1:0) at webpack_require(file: src/webpack/bootstrap:750:0) at fn(file: src/webpack/bootstrap:120:0) at file:///app/bundle.js:3637:92 at ./main.ts(file:///app/bundle.js:3688:34) at webpack_require(file: src/webpack/bootstrap:750:0) at checkDeferredModules(file:///app/r<…> NativeScript caught signal 6. Native Stack: 1 0x109962481 sig_handler(int) 2 0x7fff5245a5fd _sigtramp 3 0x1 4 0x7fff5234ba5c abort 5 0x7fff502497f8 cxa_bad_cast 6 0x7fff502499c7 demangling_unexpected_handler() 7 0x7fff513fbd7c _objc_terminate() 8 0x7fff50256e97 std::terminate(void ()()) 9 0x7fff502568fe __cxa_get_exception_ptr 10 0x7fff502568c5 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception) 11 0x7fff513fbc44 _objc_exception_destructor(void) 12 0x1099150fd NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState, JSC::Exception, bool) 13 0x109963824 -[TNSRuntime executeModule:referredBy:] 14 0x1079c7813 main 15 0x7fff5227ec25 start 16 0x1 JS Stack: Successfully synced application com.polaticks on device 145D9AAC-973D-49E2-BC6E-6ABBD2631A34. Child process terminated with signal 15: Terminated
Type TNSFontIconModule does not have 'ngModuleDef' property.
Any news on this? this aint working....
if you use icomoon you can create your own font-pack that comes with hex codes that you can use directly in the html
On Wed, May 6, 2020 at 10:15 AM Manuel Maestrini notifications@github.com wrote:
Any news on this? this aint working....
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NathanWalker/nativescript-ngx-fonticon/issues/67#issuecomment-624506550, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJP5WWZZ3G4IXJBACDQXADRQEMBVANCNFSM4LQ4ZMJA .
@leo00723 sure ok, but that does not have anything to do with the fact that this package isn't working with recent angular versions (i guess it's the issue).
is there any solution?
same error
Following steps in https://github.com/NativeScript/nativescript-angular/pull/2124 helped me.
Following steps in NativeScript/nativescript-angular#2124 helped me.
a lot of text :)
did you manage to solve the problem?
@Bezlepkin yes
Hi, I upgreded to "nativescript-ngx-fonticon": "^6.0.3" from "nativescript-ngx-fonticon": "^5.0.2",
"nativescript-ngx-fonticon": "^6.0.3", "@angular/core": "~8.2.0", "nativescript-angular": "^8.21.0", "tns-core-modules": "^6.5.0, "tns-android": { "version": "6.5.0" }
getting
If I stay on "nativescript-ngx-fonticon": "^5.0.2" it runs without errors
Regards MDT