Skip to content

Missing stompjs dependency #543

@awallat

Description

@awallat

After updating from rx-stomp 1.2.0 -> 2.0.0 my app is not running anymore and it complains about:

Error: node_modules/@stomp/rx-stomp/esm6/rx-stomp.d.ts:2:84 - error TS2307: Cannot find module '@stomp/stompjs' or its corresponding type declarations.

I saw that the stompjs-library is not there anymore and yarn (3.6.3) was giving this warning:

YN0002: │ xxxxxx@workspace:. doesn't provide @stomp/stompjs (pbbbdc), requested by @stomp/rx-stomp

image

Adding the latest stompjs lib (7.0.0) to my package.json fixes the issue.
Do I need to provide it manually with 2.0.0?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions