You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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?
The text was updated successfully, but these errors were encountered:
Many thanks for the report. Your solution is correct.
The dependency has been marked as a peerDependencies in v2.0.0 from dependencies in earlier versions. This is to avoid getting a duplicate copy of rxjs installed in a few cases.
The package manager should have ensured at least one copy is installed.
I will add that in a few cases, you may need to install dependencies explicitly.
After updating from rx-stomp 1.2.0 -> 2.0.0 my app is not running anymore and it complains about:
I saw that the stompjs-library is not there anymore and yarn (3.6.3) was giving this warning:
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?
The text was updated successfully, but these errors were encountered: