We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i'm migrating an angular6 to angular 13 app using STOMP with sockjs-client.
Now when try to create my Sockjs client, it generates an error:
sockjs_client__WEBPACK_IMPORTED_MODULE_0___namespace_cache || sockjs_client__WEBPACK_IMPORTED_MODULE_0___namespace_cache) is not a constructor
i'm importing the package with
import * as SockJS from 'sockjs-client';
and using it :
const socket = new SockJS( `${this.getBaseURI()}${GreetingsServerpushService.STOMP_PREFIX}`, {}, { transports: [GreetingsServerpushService.SOCKJS_TRANSPORT_STRATEGY], timeout: GreetingsServerpushService.SOCKJS_TIMEOUT, } );
Any idea about this error?
Thx a lot
The text was updated successfully, but these errors were encountered:
This issue has been inactive for 30 days. It will be in closed in 5 days without any new activity.
Sorry, something went wrong.
No branches or pull requests
i'm migrating an angular6 to angular 13 app using STOMP with sockjs-client.
Now when try to create my Sockjs client, it generates an error:
i'm importing the package with
and using it :
Any idea about this error?
Thx a lot
The text was updated successfully, but these errors were encountered: