Socket.io-client integration
See original GitHub issueIn the process of building a chat app with your package & socket.io-client.
Everything works great until I install socket.io-client and then webpack can’t complete the build anymore. The error I get is:
/Users/..../Documents/mouseTracker2/_tests/v3/node_modules/webpack-target-electron-renderer/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:37
if(externals === dependency.request) {
^
TypeError: Cannot read property 'request' of undefined
Any idea of what’s going on? I tried installing the types for socket.io-client with no luck. Is this a webpack-target-electron-renderer issue or a typescript issue.
Thanks in advance for your help.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Get started | Socket.IO
A server that integrates with (or mounts on) the Node.JS HTTP Server socket.io · A client library that loads on the browser side...
Read more >Integrate Socket.IO with Node.Js + Express | Medium
Socket.IO is a JavaScript library for real-time web applications. It enables real-time, bi-directional communication between web clients and ...
Read more >Socket.io - npm
A heartbeat mechanism is implemented at the Engine.IO level, allowing both the server and the client to know when the other one is...
Read more >Create a Secure Chat Application with Socket.IO and React
The WebSocket protocol builds on top of the HTTP protocol to provide a persistent bi-directional connection between the client and the ...
Read more >Node.js Socket.io tutorial: Real-time chat application | TSH.io
Below, I'll present to you a brief Socket.io tutorial on how to create a simple chat application with Vanilla JS frontend part and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
webpack 2 has built-in support for electron, so you should never use this module with webpack 2.
oh cool I didn’t know that. will try without it thanks