0

the error

I use import like this

import { io } from "./lib/socket.io.esm.min.js";

And I copied socket.io/client/socket.io.esm.min.js to ./lib/socket.io.esm.min.js

Andrew Stegmaier
  • 3,429
  • 2
  • 14
  • 26
  • Why do you think `parcelRequire()` has anything to do with socket.io? This error seems to be related to different code. Also, please paste the text of the error directly into the question, not as an image. – jfriend00 Mar 30 '22 at 15:55
  • I use webpack and it works – bcm-ray_crazy Mar 31 '22 at 00:24

0 Answers0