Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'socket.io-client/dist/socket.io.min.js' #24

Open
BluishMechanismz opened this issue Mar 22, 2018 · 0 comments
Open

Comments

@BluishMechanismz
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant