sudo xattr -rd com.apple.quarantine appPath
2023/05/04
2023/04/30
Electron v13 & Vue.js 3 build macOS App白畫面
編譯出來App打開後是白畫面,將Vue router的history改為hash mode
createWebHistory改為createWebHashHistory
2023/04/29
Electron build macOS failed hdiutil unmount issue blocks dmg creation for MacOS builds
npm remove electron -g
npm remove electron-builder -g
參考資料:
Electron build macOS App error Exit code: ENOENT. spawn /usr/bin/python error after updating macOS
需要仰賴Python 2,先安裝完Python 2輸入下方指令即可
#need disable SIP
sudo ln -s /usr/bin/python3 /usr/bin/python
export PYTHON_PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin/python"
參考資料:
Electron npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve
解決辦法一:
npm install -S -force
解決辦法二:
npm install -S --legacy-peer-deps
訂閱:
文章 (Atom)