electron 打包报错:Make sure that .NET Framework 4.5 or later and Powershell 3 or later are installed...

我在Windows 10 打包时成功,但是在windows 7 里却报错:

Make sure that .NET Framework 4.5 or later and Powershell 3 or later are installed, otherwise extracting the Electron zip file will hang.

原因:版本低了,查看PowerShell版本  https://mp.csdn.net/editor/html/112217153

首先在控制面板->卸载程序 中查看有没有.NET Framework 4.5以上和Powershell 3以上的程序,如果没有就需要下载安装

猜你喜欢

转载自blog.csdn.net/qq_40015157/article/details/112220541