Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Not working in angular 15. Error: Failed to initialize Angular compilation - Failed to compile entry-point @stomp/ng2-stompjs #268

@badalpatelhops

Description

@badalpatelhops

Hi, recently I have upgrade my ionic/angular project into angular version 15 from angular 14

In angular 14 working as Aspected. but after upgrading to angular 15 getting the error below
Error: Failed to initialize Angular compilation - Failed to compile entry-point @stomp/ng2-stompjs

error NG2006: The injectable RxStompService inherits its constructor from RxStomp, but the latter does not have an Angular decorator of its own.

I think the error getting because of angular 15 changes in the Dependency Injection link attached below

https://angular.io/guide/update-to-version-15#invalid-constructors-for-dependency-injection-can-report-compilation-errors

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions