Closed Tiuser4567 closed 7 years ago
update; followed workaround by elvirdolic in #17 (and did not use ng2-idle-keepalive).
Though still encountering below in the 'ionic serve' command.
Error reading template file, "my-component-tpl.html": Error: ENOENT: no file or directory, open 'ionic_app\node_modules\ng2-idle\node_modules\@angular\core\src\animation\my-component-tpl.html'
Not sure if above can be ignored but so far the app and idle functionality works when tested in the browser.
Update: above error is an issue by ionic CLI (apparently it is misreading commented @Component code). closing this issue (as I can proceed with the workaround)
Hello,
I am using ng2-idle in my ionic 2 beta project. Currently, we are in the process of migrating to ionic 2 RC0 (which updated to Angular 2.0.0 AOT from Angular 2 RC4 ) However, currently, I'm encountering 2 kinds of errors when I include ng2-idle providers.
error in ionic serve command:
error in browser console
My app.module.ts
(I'm not familiar yet with the changes in Angular 2.0.0 but I'm guess AOT compiling used by Ionic 2 RC0 may be a factor?)
Can anyone advise? Thanks