簡體   English   中英

npm install在Ubuntu 16 +節點v6.x上導致錯誤

[英]npm install causing errors on Ubuntu 16 + node v6.x

執行npm安裝時,我看到以下錯誤:

> fibers@1.0.13 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

> bcrypt@0.8.7 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
deploy@ubuntu-512mb-nyc3-01:~/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)上運行“ npm install”時,不會發生上述情況。 我做了一些研究,但不知道是什么原因導致了這種情況在Ubuntu上的發生

“殺死”意味着構建過程由於某種原因而終止,可能是由於內存不足。

Ubuntu包裝盒(是VM?VPS?烤面包機?)有多少內存?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM