-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Installation doesn't work just as in #30 #39
Comments
I am also receiving the same, followed every step of the How To. Angular 14.2.10 |
Thanks for reporting, it should be all good now, it seems that newer version of Angular for Ivy requires really strict Typings for the NgModule returned by the lib. I also updated the demo since I saw that I forgot to update it with latest and that helped finding the issue, the live demo build is now fully working. I didn't check the how to Wiki, but the live demo should always be the reference anyway |
It works perfectly now, thanks very much for the quick fix 😁
…On Mon, 12 Dec 2022, 18:55 Ghislain B., ***@***.***> wrote:
Thanks for reporting, it should be all good now, it seems that newer
version of Angular are really strict Typing for the NgModule returned by
the lib. I also updated the demo since I saw that I forgot to update it
with latest and that helped finding the issue, the live demo build is now
fully working. I didn't check the how to Wiki, but the live demo should
always be the reference anyway
—
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3IZ6HA6ZJEVCL3VIXU2IMLWM5YL5ANCNFSM6AAAAAAS372P5U>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Describe the bug
When I add
AngularMarkdownEditorModule.forRoot()
to imports in app.module I get.Value at position 5 in the NgModule.imports of AppModule is not a reference
Value could not be determined statically.(-991010)
app.module.ts(40, 5): Unable to evaluate this expression statically.
app.module.ts(40, 5): A value for 'forRoot' cannot be determined statically, as it is an external declaration.
When I add AngularMarkdownEditorModule without the .forRoot() and add the tag I get the same error as in #30.
Reproduction
I downloaded the whole repo as it contains the newest demo and then did npm i angular-markdown-editor. I changed the 11th line in app.module from
import { AngularMarkdownEditorModule } from '../lib/angular-markdown-editor';
toimport { AngularMarkdownEditorModule } from 'angular-markdown-editor';
.Environment Info
Validations
The text was updated successfully, but these errors were encountered: