You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. (/home/pi/MirrorOS/main.js:7:32)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
The text was updated successfully, but these errors were encountered:
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. (/home/pi/MirrorOS/main.js:7:32)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
The text was updated successfully, but these errors were encountered: