-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Sharp in an Electron Forked Process #1621
Comments
Hi, sharp uses prebuild and prebuild-install rather than node-pre-gyp but the problem may be similar. I've had a quick scan of the linked issues. Is the main cause of the problem that the runtime has been incorrectly determined to be "node" rather than "electron"? If so, this can be passed in at install-time via a flag: npm install --runtime=electron If this doesn't help, please can you provide a repo with a minimal reproduction of the problem. |
Sorry accidentally closed. I'll try to create a minimal reproduction of the problem. |
I use Sharp in a forked process in my electron app.I do something like this:
|
It looks like the upstream electron/electron#16450 fixes this, which will be in Electron 6. |
I am also using |
Sharp doesn't work in an electron forked process.
Caused by:
mapbox/node-pre-gyp#278
That used to be blocked by this:
electron/electron#9058
The text was updated successfully, but these errors were encountered: