出现 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. Any issues encountered on
unsupported platforms will not be fixed.
的解决方法
翻译:Node.js仅在Windows 8.1、Windows Server 2012 R2或更高版本上受支持。
将NODE_SKIP_PLATFORM_CHECK环境变量设置为1将跳过此操作
检查,但Node.js可能无法正确执行。在上遇到的任何问题
不支持的平台将不会被修复。
方法:
D:\>set NODE_SKIP_PLATFORM_CHECK=1