-
Notifications
You must be signed in to change notification settings - Fork 62
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
doesn't properly work in Electron #760
Labels
Comments
Okay so looks like check import { isNode } from 'wherearewe' comes as |
pleerock
added a commit
to pleerock/js-ipfsd-ctl
that referenced
this issue
Aug 9, 2022
Fixes ipfs#760; electron main process can be treated as node.js, so we don't need to use remote server.
achingbrain
pushed a commit
that referenced
this issue
Sep 2, 2022
Fixes #760; electron main process can be treated as node.js, so we don't need to use remote server.
🎉 This issue has been resolved in version 12.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As we know in electron there two processes: renderer (browser) and main (node.js). When I use library in main process I expect it to behave the same way as I used in node.js. However it doesn't work this way and it requires "server" (I'm talking about createServer) to be created. Looks like it treats a main process as browser and tries to work like in a browser?
The text was updated successfully, but these errors were encountered: