-
Notifications
You must be signed in to change notification settings - Fork 90
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
Error encountered resolving symbol values statically #27
Comments
PillowPillow
added a commit
that referenced
this issue
Dec 26, 2016
Hi, the v1.4.3 should fix your issue. Please use the exposed fn Example : import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {Ng2Webstorage, configure} from 'ng2-webstorage';
configure({ prefix: 'custom', separator: '.' });
// import {Ng2Webstorage, configure as WebstorageConfigure} from 'ng2-webstorage'; // Don't forget you can make an alias if the configure key is already in use
// WebstorageConfigure({ prefix: 'custom', separator: '.' });
@NgModule({
declarations: [...],
imports: [
BrowserModule,
Ng2Webstorage,
],
bootstrap: [...]
})
export class AppModule {
} |
Thank you very much. I did the alias using 'as' instead of colon because it was failing: |
edited, thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using [email protected]. My purpose is to do AOT compilation with ngc, but I receive this error from ngc:
The code of AppModule is:
I think your library is prepared for AOT and I am initialising correctly in my AppModule. Do you have any clue about what can be failing?
The text was updated successfully, but these errors were encountered: