electron-vite / electron-vite-vue

🥳 Really simple Electron + Vite + Vue boilerplate.

Home Page:https://electron-vite.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is there no exe file under build win-unpacked?

XiaoBaiClassmate opened this issue · comments

Describe the bug

node -v: 18.12.1

1.Download this project
2.pnpm i
3.

"devDependencies": {
    "@vitejs/plugin-vue": "^4.3.3",
    "electron": "26.0.0",
    "electron-builder": "^24.6.3",
    "tree-kill": "^1.2.2",
    "typescript": "^5.1.6",
    "vite": "^4.4.9",
    "vite-plugin-electron": "^0.15.3",
    "vite-plugin-electron-renderer": "^0.14.5",
    "vue": "^3.3.4",
    "vue-tsc": "^1.8.8"
  }

The win-unpacked file is empty after packing

Add following code snippets into .npmrc

shamefully-hoist=true