Description
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';
to import { AngularMarkdownEditorModule } from 'angular-markdown-editor';
.
Environment Info
Angular 14.1.0
angular-markdown-editor 3.0
typescript 4.7.4
Validations
- Follow our Code of Conduct
- Read the HOWTO - Step by Step.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.