MirrorOS
MirrorOS copied to clipboard
Cannot find module 'socket.io-client/dist/socket.io.min.js'
While I was trying to boot up the program with NPM, it showed this error. I followed a majority of the tutorial and had a few problems with the site-packages, but I can't figure this one specific thing out. I do have socket.io installed, so I'm heavily confused.
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'socket.io-client/dist/socket.io.min.js'
at Module._resolveFilename (module.js:455:15)
at Function.Module._resolveFilename (/home/pi/MirrorOS/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.resolve (internal/module.js:27:19)
at resolvePath (/home/pi/MirrorOS/node_modules/socket.io/lib/index.js:109:20)
at Server.serveClient (/home/pi/MirrorOS/node_modules/socket.io/lib/index.js:112:25)
at new Server (/home/pi/MirrorOS/node_modules/socket.io/lib/index.js:51:8)
at Server (/home/pi/MirrorOS/node_modules/socket.io/lib/index.js:43:41)
at Object.