2016-08-04 82 views
0

我看到下面的錯誤做一個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

回答

0

「Killed」意味着構建過程因某種原因死亡,可能是由於內存不足。

Ubuntu盒子有多少內存(它是VM?VPS?烤麪包機?)?