ERR_FILE_NOT_FOUND ionic start myApp tabs --capacitor --type react

Found it… so for posterity:

  • remove from ./electron/app/index.html the tag <base href="/" />
  • add this property to ./electron/package.json: "homepage": "."

Source: Tutorial/guide to build for Ionic-React-Electron app