我在我的32位linux mint機器上安裝了nodejs v7.5.0
和npm v4.1.2
。而我typin' npm install
到終端,它給了我這些信息,而不是被安裝NPM包:如何在Linux機器上安裝npm軟件包
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
npm WARN @angular/[email protected] requires a peer of [email protected]^5.0.1 but none was installed.
npm WARN [email protected] No description
npm WARN [email protected] No repository field
現在,這裏是我的錯嗎?如何解決它並正確安裝npm包,請讓我知道?
它應該仍然安裝好...只警告由於32位...節點坐在一個叫做V8的JavaScript引擎上面用C++編寫... npm安裝常常在封面上編譯代碼...不用擔心 –