我在我的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安装常常在封面上编译代码...不用担心 –