I am trying to to debug the react native app, If I don\'t try to debug JS remotely then everything is fine, but when I try to debug JS remotely I do get this error.
I had same error, I just closed the browser and refreshed my simulator. It may open the browser window again with debugging window. But it takes care of the error. If not I suggest terminating your simulator and running the build commands again.