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
How I remove websocket error WebSocket connection to 'ws://localhost:8081/ws' failed.
I am using: Angular 16.x.x Node 16.20.1
The text was updated successfully, but these errors were encountered:
Why is no one taking care of it? Is no one maintaining this lib anymore?
Sorry, something went wrong.
@Surajbisht15 I fixed it using the https://www.npmjs.com/package/string-replace-loader
You could include the following rule insdie your webpack config file to replace websocket function which generates the error on your client
{ test: /leaflet\.distortableimage\.js$/, use: [{ loader: 'string-replace-loader', options: { search: /var WebSocketClient =.*?(\}\);)/gs, replace: function(match) { return match.replace('this.client = new WebSocket(url);', 'this.client = {};'); }, }, }, ], },
Such a pity this wonderful library is not supported anymore. I sadly don't have the skills to fix it, but this bug makes it unusable right now...
No branches or pull requests
How I remove websocket error
WebSocket connection to 'ws://localhost:8081/ws' failed.
I am using:
Angular 16.x.x
Node 16.20.1
The text was updated successfully, but these errors were encountered: