1.问题分析
1.1. 公司云桌面win7系统把之前C盘中自带的py3.7环境给还原了,之前跑得好好的PlayWright案例不能运行了
2.解决过程
2.1. 参考网上的解决方案,说是node的版本问题,但是我将之前可以运行的V12.22.12版本回退到V12.9.1以后,还是不行,但是我发现我的报错信息中,没有网上的这一段
Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher.
Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this
check, but Node.js might not execute correctly.
2.2. 重新翻阅安装过程,发现覆盖node.exe的这一步没有做,故覆盖完成后,即解决问题