You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用npm run build:win时打包已成功,但是使用npm run build:linux打包时报错:
• cannot execute chmod error=exec: "chmod": executable file not found in %PATH%
• cannot execute chmod error=exec: "chmod": executable file not found in %PATH%
• cannot execute chmod error=exec: "chmod": executable file not found in %PATH%
⨯ cannot execute cause=exec: "C:\Users\CH\AppData\Local\electron-builder\Cache\appimage\appimage-12.0.1\linux-x64\mksquashfs": file does not exist
是不是必须在Linux系统上打包才可以?
打包命令配置:
"build:win": "npm run build && electron-builder --win",
"build:mac": "npm run build && electron-builder --mac",
"build:linux": "npm run build && electron-builder --linux"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
使用npm run build:win时打包已成功,但是使用npm run build:linux打包时报错:
• cannot execute chmod error=exec: "chmod": executable file not found in %PATH%
• cannot execute chmod error=exec: "chmod": executable file not found in %PATH%
• cannot execute chmod error=exec: "chmod": executable file not found in %PATH%
⨯ cannot execute cause=exec: "C:\Users\CH\AppData\Local\electron-builder\Cache\appimage\appimage-12.0.1\linux-x64\mksquashfs": file does not exist
是不是必须在Linux系统上打包才可以?
打包命令配置:
"build:win": "npm run build && electron-builder --win",
"build:mac": "npm run build && electron-builder --mac",
"build:linux": "npm run build && electron-builder --linux"
Beta Was this translation helpful? Give feedback.
All reactions