Skip to content

Issues with other common libraries #52

@codehippie1

Description

@codehippie1

Adding other libraries with directives produces issues of these sorts.

I added this package ngx-highlightjs - https://www.npmjs.com/package/ngx-highlightjs
Followed the documentation exactly as is.

A sample is here : https://stackblitz.com/edit/ngx-highlightjs-tpratt?file=package.json,src%2Fapp%2Fapp.component.html,src%2Fapp%2Fhome%2Fhome.component.ts

Getting this error. I have spent a few hours already, but wanted to check if you have seen something similar.

image

But the same works fine in apps created using ng new
image

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