-
Notifications
You must be signed in to change notification settings - Fork 98
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
Unexpected value 'AngularOpenlayersModule' imported by the module 'AppModule' #31
Comments
👍 for finding references to this issue! I'm currently working on a clean-up of the code (code itself+documentation). |
I've had similar issues with Angular2 and Typescripts version 2.1.x. |
I was using TS 2.1, but after downgrading to 2.0 the problem persists. |
Could you copy paste the dependencies part of your package.json?
Relevant items would be angular modules, e.g. @angular/core, and angular2-openlayers.
BR,
Quentin
…-------- Message d'origine --------
De : Nathaniel Wingfield <notifications@github.com>
Date : 01/01/2017 02:38 (GMT+01:00)
À : quentin-ol/angular2-openlayers <angular2-openlayers@noreply.github.com>
Cc : LAMPIN Quentin IMT/OLPS <quentin.lampin@orange.com>, Comment <comment@noreply.github.com>
Objet : Re: [quentin-ol/angular2-openlayers] Unexpected value 'AngularOpenlayersModule' imported by the module 'AppModule' (#31)
I was using TS 2.1, but after downgrading to 2.0 the problem persists.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#31 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOYyYrkvxdDQRZCUWyS9OvVL1-DEKQpEks5rNwOsgaJpZM4LWh7_>.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
|
Here you have it.
I have angular2-openlayers locally, at commit
|
this should be fixed with v0.5.0 |
If I tweak
tsconfig.json
to bypass #26, I'm now seeing this exception at runtime:There are quite a few posts about this on the web, but I haven't found any fix. It seems that Angular metadata is somehow getting stripped out during compilation.
The text was updated successfully, but these errors were encountered: