ngx-socket-io icon indicating copy to clipboard operation
ngx-socket-io copied to clipboard

"@types/socket.io-client": "1.4.36"

Open SergeyMashchenko opened this issue 4 years ago • 1 comments

Since yesterday all my builds in docker are failing after npm i it is downloading new issue, but code/package.json/package-lock was not changed

./node_modules/ngx-socket-io/ivy_ngcc/fesm2015/ngx-socket-io.js:22:23-34 - Error: export 'default' (imported as 'io__default') was not found in 'socket.io-client' (possible exports: Manager, Socket, connect, io, protocol)

./node_modules/ngx-socket-io/ivy_ngcc/fesm2015/ngx-socket-io.js:22:37-48 - Error: export 'default' (imported as 'io__default') was not found in 'socket.io-client' (possible exports: Manager, Socket, connect, io, protocol)

"ngx-socket-io": "3.3.0"

SergeyMashchenko avatar Oct 15 '21 18:10 SergeyMashchenko

Experiencing this issue as well from a fresh install with v4.1.0

Looks like it's stemming from an issue with socket.io-client 4.3.0

Current workaround is manually add v4.2.0 to package.

ref: https://github.com/socketio/socket.io-client/issues/1507

jbuehlz avatar Oct 15 '21 19:10 jbuehlz