2016-11-29 149 views
3

是否有關於Node.js支持的確切操作系統的官方聲明?我唯一能找到的是this one,但對於Windows,至少它只列出了兩個版本(Windows 2008R2/Windows 2012 for 64位)。據我所知,Node.js運行在更多的Windows版本上(7,8,10 ...)。任何想法爲什麼官方聲明不包括他們?Node.js支持的操作系統

+0

Did [my post below](http://stackoverflow.com/questions/40868152/node-js-supported-operating-systems/40869223#40869223)回答你的問題?任何意見? – rsp

回答

5

一年前(2015年11月),曾有關於GitHub放棄支持Windows XP和Vista的討論。請參閱:

最後,提交名爲 「win: prevent node from running on Windows Vista or earlier」 有加:

參見從哪裏是討論了會議筆記此代碼到節點:

if (!IsWindows7OrGreater()) { 
    fprintf(stderr, "This application is only supported on Windows 7, " 
        "Windows Server 2008 R2, or higher."); 
    exit(1); 
} 

這次提交登陸節點6.0.0,請參閱the announcement

Windows XP和Vista不再支持#5167。

從現在開始

所以,這是官方消息:

節點僅支持Windows 7和Windows Server 2008 R2,或更高。

但正如您在https://nodejs.org/en/download/上看到的,32位和64位版本都可用。