Yann Mulonda
1 min readJun 13, 2019

--

Hi Marc,

can try one more thing:

Make sure index.html is updated

The generated root page in Angular points the base href to / - this will cause problems with Electron, later on, so let’s update it now. Just add a period in front of the slash in src/index.html.

<base href=”./”>
  1. Delete your dist folder and run: ng build
  2. if your app build just fine, then run “ng build — prod”
  3. if that works fine too, then run “npm run electron-build”

--

--

Yann Mulonda
Yann Mulonda

Written by Yann Mulonda

Co-Founder & CIO @ITOT | DevOps | Senior Site Reliability Engineer @ICF󠁧󠁢󠁳󠁣󠁴 | "Learning is experience; everything else is just information!”

Responses (1)