Import socketio and it works well.