kramer65 kramer65 - 1 year ago 143
Javascript Question

`npm install` ends with "Killed"

I'm trying to run Telescope (a meteor app) on an Ubuntu 16.04 server. I follow the instructions in the readme:

curl | sh
git clone
npm install

The first two commands run without an error, but the last command end in

$ npm install
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
extract:moment → gunzTarP ▐ ╢█████████████████████████████████████████████████░░░░░░░░░░╟

Since it doesn't give any information I'm unsure what could be wrong here. Does anybody know how I can solve this? All tips are welcome!

Using the tip of @Mills in the comments I first ran
npm install cross-spawn
and then
npm install
again. This fixed the
npm install
issue, but when I now try to run the app using
it ends with "Killed" again:

$ meteor
Killednloading meteor-tool@1.3.2_4... |

Any more ideas?

Answer Source

I am running into a similar issue installing npm packages and getting the message "Killed" and a non-zero exit status. For my scenario, it was because my system was running out of memory and I had no swap configured. Configuring swap fixed my problem.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download