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
I cannot seem to get socket.io to work with this toolkit no matter what I do. I get compilation errors from simply using "npm install socket.io", which installs version 1.3.5, which conflicts with the version used by webpack.
However, once I revert to 0.9.7 of socket.io, the project will build and run until I actually attempt to "require('socket.io').listen(server)", which causes the following error:
I cannot seem to get socket.io to work with this toolkit no matter what I do. I get compilation errors from simply using "npm install socket.io", which installs version 1.3.5, which conflicts with the version used by webpack.
However, once I revert to 0.9.7 of socket.io, the project will build and run until I actually attempt to "require('socket.io').listen(server)", which causes the following error:
, 'undefined' != typeof io ? io : module.parent.exports
^
TypeError: Cannot read property 'exports' of undefined
Has anyone successfully integrated socket.io with this project and gotten it to work?
The text was updated successfully, but these errors were encountered: