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
I am creating an electron app, which on npm start works perfectly, but when I try to build the same with the electron-packager, the following error pops on on clicking the exe file.
A JavaScript error occurred in the main process
Uncaught Exception
Error
Something went wrong installing the "sharp"module
The specified module could not be found.
I am creating an electron app, which on
npm start
works perfectly, but when I try to build the same with the electron-packager, the following error pops on on clicking the exe file.A JavaScript error occurred in the main process
Uncaught Exception
Error
Something went wrong installing the "sharp"module
The specified module could not be found.
my package.json :
Environment Details:
Here I am using venom-bot which has internal dependency of the sharp module.
my build command :
electron-packager . WhatsBulker --platform=win32 --arch=x64 --electronVersion=13.1.7 --app-version=1.0.0 --build-version=2.0.0 --prune=false --overwrite=true && electron ./package.js
package.js (used to produce a installer):
Sharp Version : sharp@0.28.3
Latest Version : sharp@0.28.3
Please help if anyone has figured out my problem. Thanks.
The text was updated successfully, but these errors were encountered: