`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 https://install.meteor.com/ | sh
git clone [email protected]:TelescopeJS/Telescope.git
npm install

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

$ npm install
npm WARN deprecated [email protected]: 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 meteor it ends with “Killed” again:

$ meteor
Killednloading [email protected]_4...        |

Any more ideas?


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.

Answered By – Chad

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published