cod*_*fun 7 electron electron-forge
electron-forge make results in Error: Could not find any make targets configured for the "win32" platform.\nwith command:\nPS E:\\VStudio\\20210417> npm run make2\n\n> 20210417@1.0.0 make2\n> electron-forge make \n\n\xe2\x9c\x94 Checking your system\n\xe2\x9c\x94 Resolving Forge Config\nWe need to package your application before we can make it\n\xe2\x9c\x94 Preparing to Package Application for arch: x64\n\xe2\x9c\x94 Preparing native dependencies\n\xe2\x9c\x94 Packaging Application\n\nAn unhandled rejection has occurred inside Forge:\nError: Could not find any make targets configured for the "win32" platform.\n at _default (E:\\VStudio\\20210417\\node_modules\\@electron-forge\\core\\src\\api\\make.ts:170:11)\n at E:\\VStudio\\20210417\\node_modules\\@electron-forge\\cli\\src\\electron-forge-make.ts:44:5 \n\nElectron Forge was terminated. Location:{}\nRun Code Online (Sandbox Code Playgroud)\n
小智 8
它通过删除并重新安装依赖项对我有用
npm install --save-dev @electron-forge/cli
npx electron-forge import
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5687 次 |
| 最近记录: |