NPM Ubuntu上安装16导致错误+ 6.x版节点

问题描述:

我看到下面的错误做一个NPM安装时:NPM Ubuntu上安装16导致错误+ 6.x版节点

> [email protected] install /home/deploy/xxx-server-v2/node_modules/fibers 
> node build.js || nodejs build.js 

`linux-x64-v8-5.0` exists; testing 
Binary is fine; exiting 

> [email protected] install /home/deploy/xxx-server-v2/node_modules/bcrypt 
> node-gyp rebuild 

make: Entering directory '/home/deploy/gym-patrol-server-v2/node_modules/bcrypt/build' 
    CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o 
    CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o 
    CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o 
Killed 
[email protected]:~/gym-patrol-server-v2$ SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node 
    COPY Release/bcrypt_lib.node 
make: Leaving directory '/home/deploy/xxx-server-v2/node_modules/bcrypt/build' 

当运行“故宫安装”我的本地机器上(Mac),上面并不会发生。 我做了一些研究,但不知道是什么导致了这种情况发生在Ubuntu

“Killed”意味着构建过程因某种原因死亡,可能是由于内存不足。

Ubuntu盒子有多少内存(它是VM?VPS?烤面包机?)?