BoostIO / BoostNote-App

Boost Note is a document driven project management tool that maximizes remote DevOps team velocity.
https://boostnote.io
Other
3.8k stars 372 forks source link

White screen on building Electron Boost Note.app #397

Closed GabLeRoux closed 4 years ago

GabLeRoux commented 4 years ago

Current behavior

I also tried building it on my own for current repo and that's the real issue ;)

git@github.com:BoostIO/BoostNote.next.git
cd BoostNote.next
touch .env
npm i
npm run build
npm run pack
open dist/boost-note-mac.dmg

copy Boost Note.app to /Applications/Boost Note.app (I see app was renamed eh)

open /Applications/Boost Note.app

Screen stays white.

Expected behavior

  1. There should not be permission issues with the app installed from cask.
  2. App should display errors if there are

Steps to reproduce

See description

Environment

Desktop/Web

Workaround

  1. I tried downloading app from website, had following error:

“Boostnote.app” is damaged and can’t be opened. You should move it to the Trash.

  1. So I used brew cask. At first and had following error message:

This software needs to be updated. Contact the developer for more information.

but for some reason, rebooting and reinstalling app solved my issue.

brew cask install boostnote
open /Applications/boostnote.app
image

Press Ok, Open system preferences and allow app:

image image

Worked this time.

Rokt33r commented 4 years ago

Sorry I forgot to update our build document. If you just want to develop our app, please try npm run dev. dev script for electron will be ready today. I'll let you know when it is ready.

FYI, To build the executable file, you need a certificate for codesign.

Rokt33r commented 4 years ago

https://github.com/BoostIO/BoostNote.next/issues/400 will cover this issue. Please follow this.

Rokt33r commented 4 years ago

Resolved in #401 . Please try npm run dev:webpack and npm run dev:electron(You need to open another terminal to run this).

GabLeRoux commented 4 years ago

Confirmed working, thanks 👍

git pull
npm i
npm run dev:webpack
npm run dev:electron
image

🤘