sindresorhus / electron-store

Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc
MIT License
4.57k stars 148 forks source link

使用Electron-builder打包后运行程序,出现 require() of ES Module错误 #262

Closed nakeking closed 1 year ago

nakeking commented 1 year ago

{ "electron": "^25.1.0", "electron-builder": "^24.4.0", “electron-store”: "^8.1.0", } 目前是在window环境打包出现该错误,mac没有尝试;

image;

想请问是我webpack配置问题还是其他问题,希望有个方向;

sindresorhus commented 1 year ago

I don't see how this is relevant to this project. Also, please use English when opening issues on English projects.