执行nr build
打包尝试从 https://github.com/electron/electron/releases/download/v19.0.8/electron-v19.0.8-linux-x64.zip 下载 electron 失败,原因众所周知。解决办法是手动下载对应文件放入缓存目录,参考这个。
cd ~/.cache/electron
wget https://github.com/electron/electron/releases/download/v19.0.8/electron-v19.0.8-linux-x64.zip
wget https://github.com/electron/electron/releases/download/v19.0.8/SHASUMS256.txt -O SHASUMS256.txt-19.0.8
重新打包此错误即可消失。
评论区