当我尝试npminstall新软件包时,它会显示此错误:rollbackFailedOptional:verbnpm-session585aaecfe5f9a82node--version8.4.0npm--version5.3.0 最佳答案 #firstthis>npmconfigrmproxy>npmconfigrmhttps-proxy#thenthis>npmconfigsetregistryhttps://registry.npmjs.org/解决了我的问题。再次提醒:请务必检查您是否已正确连接互联网。