-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Description
Bug 描述
执行 "npm run electron:publish-win" 失败,日志如下:
- With binding.gyp: sharp
- With .node files: none
• electron-builder version=24.13.3
• loaded configuration file=D:\Resources\Projects\ai\chat-ui\B\chatbox-1.18.1\electron-builder.yml
• installing production dependencies platform=win32 arch=x64 appDir=D:\Resources\Projects\ai\chat-ui\B\chatbox-1.18.1\release\app
ERROR in dll renderer renderer[11]
Module not found: Error: Can't resolve '@capacitor/android' in 'D:\Resources\Projects\ai\chat-ui\B\chatbox-1.18.1'
ERROR in dll renderer renderer[17]
Module not found: Error: Can't resolve '@capacitor/ios' in 'D:\Resources\Projects\ai\chat-ui\B\chatbox-1.18.1'
webpack compiled with 2 errors
期望结果
请问如何只打包出win的exe程序?
- 操作系统:Win11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels