Ionic v4 and ngx-socket.io not working after biuild

Ionic v4 and ngx-socket.io not working after biuild, but woking in browser and in debugging mode what is the reason ?