Topppy / hexo-blog

my hexo new blog
https://topppy.github.io/hexo-blog/
2 stars 0 forks source link

electron 打包的时候报错 nsis 找不到 #62

Open Topppy opened 2 years ago

Topppy commented 2 years ago
ENOENT: no such file or directory, copyfile 'C:\Windows\TEMP\electron-builder-cache\nsis\nsis-3.0.4.1\elevate.exe' -> 'C:\gitlab-runner\builds\xxx\build\release\win-ia32-unpacked\resources\elevate.exe'

看了一些 nsis里确实没有这个文件,手动去下载一下吧。

参考:https://blog.csdn.net/qq_32682301/article/details/105234408 下载地址:https://github.com/electron-userland/electron-builder-binaries/releases?q=nsis-3.0.4.1&expanded=true