目录

electron-builder打包时,出现errorOutERROR-Cannot-create-symbolic-link

目录

electron builder打包时,出现errorOut=ERROR: Cannot create symbolic link

https://i-blog.csdnimg.cn/direct/941983a83ad94662ba8997937cfe4f05.png

解决办法:

管理员身份 运行PowerShell,然后进入到该目录下重新执行该指令。然后就会看到打包成功。

只要首次在PowerShell中链接创建完成,后续在VSCode或者CMD这些运行指令,都不会报错了

https://i-blog.csdnimg.cn/direct/1bf85afe90204ab29dbddf087e325d86.png

https://i-blog.csdnimg.cn/direct/09f359ea076445b28f10af37e098f047.png