LuanRoger / electron-shadcn

:electron: Electron Forge with shadcn-ui (Vite + Typescript)
MIT License
151 stars 25 forks source link

Can package project but can't run it on #16

Closed phantridungdz closed 4 months ago

phantridungdz commented 4 months ago

I clone this project and try package by command npm run package before install node modules, then run application in Out folder but it show up: require() of ES Module like this image image

phantridungdz commented 4 months ago

I'm using node v20.14.0, and i already try npm run make and install from setup file but still get that error. If already get that bug, can't run npm run make must end task it in Task manager to run make.

LuanRoger commented 4 months ago

Unfortunately, I've try to reproduce the error, but everything seems to work just fine, I'm also using Node v20.14.0, eather the make, start and package command generate functional executables.

Since the error is not reproducible, I'll be closing this issue, but feel free to give more details about the problem.