-
-
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
The specified module could not be found, with electron, again #1636
Comments
Precompiled binaries are not yet provided for Electron 4 - see #1522. Please can you provide the debug/verbose output of running |
Oh, now I see. I looked more carefully at I don't know about building process for node, but I think we could add a post-build event that would copy dlls into the right place to automate the process. Btw, I didn't find verbose option for |
The current Line 65 in fc178de
If node node_modules/sharp/install/dll-copy |
So, the problem may be in |
It seems to be unrelated to #1522.
What I have:
I did
yarn add sharp
andyarn electron-rebuild
and it ran successfully. But I had this error:Error: The specified module could not be found. .... node_modules\sharp\build\Release\sharp.node
After I manually copied all *.dll files from
sharp/vendor/lib
folder tosharp/build/Release
the error went away.Did I miss some step in installation? Why weren't those files copied automatically?
The text was updated successfully, but these errors were encountered: