vue-3-vite-electron-typescript icon indicating copy to clipboard operation
vue-3-vite-electron-typescript copied to clipboard

The packaged .exe file reports errors

Open 5icoder opened this issue 2 years ago • 1 comments

image When I finished packaging and opened the .exe file, this error occurred, and then I installed the conf module to solve this problem. , but another new problem appeared after I repackaged, so I tried to introduce "@babel/plugin-transform-modules-commonjs" to handle the import statement in main.js, but it didn't solve it. image

5icoder avatar May 19 '23 05:05 5icoder

This is my devDependencies and dependencies: "devDependencies": { "concurrently": "^7.6.0", "electron": "^22.0.0", "electron-builder": "^23.6.0", "electron-devtools-installer": "^3.2.0", "json": "^11.0.0", "nodemon": "^2.0.20", "typescript": "^4.9.4", "wait-on": "^7.0.1" }, "dependencies": { "conf": "^11.0.1", "electron-log": "^4.4.8", "electron-store": "^8.1.0", "electron-updater": "^5.3.0" },

5icoder avatar May 19 '23 05:05 5icoder