saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.97k stars 229 forks source link

Cannot see my app after build #265

Closed mikehenriquezf closed 1 year ago

mikehenriquezf commented 2 years ago

Im using the Nextron with Typescript template to build a application. Im running yarn build to create my production build, but when i launch the DMG file i can only see the app name in the title bar, and no window is launched, i cannot see developers tools either. Any idea on what im doing wrong?

niteshbalusu11 commented 2 years ago

Production version won't launch devtools. In background.js there is a check to make sure it launches only in dev mode with yarn dev command.

ahmedsaheed commented 2 years ago

hi @mikehenriquezf you'd have to specify the dist directory in your package.json

Like so:

"directories": {
      "output": "dist",
      "buildResources": "resources"
    }
andirsun commented 1 year ago

@mikehenriquezf Thanks for report the error. Sadly you provided few details to reproduce it. Please provide a repository to reproduce the error so I can take a look into it. Meanwhile I am going to close it but feel free to open it again if you need.