Open a1392136 opened 1 month ago
Can you provide a minimal reproduction repo?
Can you provide a minimal reproduction repo?
Thank you for taking the time to reply I spent the afternoon re-combing through my code and found out that it was a problem with the typeorm entity. But I still have a problem, when the error appears after clicking confirm, the process will run in the background without ending. How do I end the background process in code.
Can you provide a minimal reproduction repo?你能提供一个最小的复制仓库吗?
Thank you for taking the time to reply感谢您抽出时间回复 I spent the afternoon re-combing through my code and found out that it was a problem with the typeorm entity. 我花了一个下午重新梳理我的代码,发现是 typeorm 实体的问题。 But I still have a problem, when the error appears after clicking confirm, the process will run in the background without ending. 但我还有一个问题,当点击确认后出现错误时,该进程将在后台运行而不会结束。 How do I end the background process in code. 如何在代码中结束后台进程。
How was this problem resolved in the end?
Pre-flight checklist
Electron Forge version
7.3.1
Electron version
v29.1.6
Operating system
Windows11
Last known working Electron Forge version
No response
Expected behavior
After packaging, the application runs normally
Actual behavior
It can be used normally with![image](https://github.com/electron/forge/assets/13248153/8e1f0a29-df89-46e9-993a-89e01178276e)
electron-forge start
before it is packaged. Startup error after packaging: uncaught Exception TypeError [ERR_INVALID_ARG_TYPE]: The 'path' argument must be of type string. Received undefinedSteps to reproduce
package.json
tsconfig.json
Additional information
vite.ase.config.ts
vite.main.config.ts
vite.preload.config.ts
vite.renderer.config.ts
forge.config.ts
forge.env.d.ts