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
Blank screen when building from source #1171
Comments
you haven't finished installing. |
Tried this over 4 times, and still not working, directly. I've tried manually installing
Looks like something related to the ssh2 library, but, even trying to manually update it, stills not working. |
just ignore the WARNINGs. what's the version of your nodejs? I worked well in v16 |
I'm ignoring the warnings. The problem is these errors that causes the build to fail. I've tested both latest LTS (20) and 16 (as you said), but, with both, I'm facing the same behaviour.
|
Finally I managed to build the project.
The final binaries are successfully built and ready. Thanks! |
b4eaa11 |
OS
Windows 11
VERSION
OS Version: 22631.3155
Shown in Terminal (cmd): 10.0.22631.3155
ISSUE DESCRIPTION
I'm trying to build from source, to get a portable version which I can share with others and run without needing to install. But, when trying to run it from source and/or from the builded version, it only shows a blank screen on the window.
Important notes:
npm install
due to invalid certificates on taobao mirrors (can't download packages), and removing the package-lock.json solved the problem;After downloading all dependencies, running
npm start
andnpm run electron
(afternpm start
has finished Webpack build), it opens a window, but doesn't show any content inside of it (it remains blank).Tried to build runtime binaries with
npm pack:prepare
andnpm pack:win
(to build for 64-bit), it builds without errors, but, when trying to run from the builded exe, it shows a blank window too.Checking the terminal, when running
npm install
, it causes some warnings, as follows, but no fatal errors:The text was updated successfully, but these errors were encountered: