Uncault Error: Failed to execute "socket.io" command from "root"

I am trying to use the new socket.io 1.0 with NodeJS, and on the client side I see this error - โ€œUnused error: did not requireโ€œ socket.io โ€fromโ€œ root โ€', it looks wrong with my client, but the path worked with 0.9.

Edit * This seems like a problem with socket.io 1.0, and there is a small fix for this, although I could not get it to work. So instead, I returned to 0.9.

+6
source share

Source: https://habr.com/ru/post/943928/


All Articles