-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not AoT compatible? (no exported member 'IDLE_PROVIDERS') #22
Comments
I got it working following an answer in another issue here.
and then in my
and finally injecting the new class where needed
|
I also had difficulty with the "Optional" Keepalive provider.
Maybe the JS in the current release is compiled incorrectly? |
I am having the same issue but the fix above is not working for me. I am getting 'SimpleExpiry' is not exported by node_modules\ng2-idle\core.js (imported by app\app.module.js)' |
@mdsauer can you try |
@Tiuser4567 That worked!
I made similar changes to my app.module.ts:
I then also added ng2-idle to the commonjs rollup plugin:
Thanks for the help! |
@dasis You are able to do the AOT compile? I am still getting |
@dasis can you answer that question http://www.codeproject.com/Questions/1148292/Angular-idel-user-state |
Hi this works fine in dev mode and regular peoduction mode but AoT does not compile. It gives
node_modules/ng2-idle/core"' has no exported member 'IDLE_PROVIDERS'.
andnode_modules/ng2-idle-keepalive/core"' has no exported member 'KEEPALIVE_PROVIDERS'
This is with angular 2.1.0
The text was updated successfully, but these errors were encountered: