安装Nodejs时,出现如下弹窗
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203.
上网搜了半天,大多碰到的错误代码是2503/2502
最后用一篇文章中的方法得到了解决。
解决步骤:
1、我的电脑—右键—属性—高级系统设置—环境变量
修改系统变量中的TMP和TEMP值为C:\WINDOWS\TEMP
重新安装即可。