socketcluster-client: Version 4.x is not compatible with Webpack
Due to the issue https://github.com/websockets/ws/issues/662, replacing sc-ws with ws in 4.x brokes Webpack compatibility.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (12 by maintainers)
Commits related to this issue
- [breaking] Remove browser code. Out of scope for this module. — committed to websockets/ws by 3rd-Eden 9 years ago
I also get same error on Windows 10…
8:40:50 PM: (node:6424) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2865): UnableToResolveError: Unable to resolve module
C:\Users\Sukeshu\Desktop\abc\SocialApp\node_modules\socketcluster-client\lib\sctransport.j\lib\ws-browser.jsfromC:\Users\Sukeshu\Desktop\abc\SocialApp\node_modules\socketcluster-client\lib\sctransport.js: Directory C:\Users\Sukeshu\Desktop\abc\SocialApp\node_modules\socketcluster-client\lib\sctransport.j\lib\ws-browser.js doesn’t exist