Skip to content

Installation doesn't work just as in #30 #39

Closed
@SirMathelot

Description

@SirMathelot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions