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 ▐ ╢█████████████████████████████████████████████████░░░░░░░░░░╟ Killed
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!
[EDIT] 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?
This cause of this error is that one of the dependencies you define in your package. json file fails to be installed properly on your computer. This means that npm fails to install the node-sass module that's added as a dependency to the n-app project.
To stop a running npm process, press CTRL + C or close the shell window.
I haved same problem, my solution:
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 sudo /sbin/mkswap /var/swap.1 sudo /sbin/swapon /var/swap.1
this commands changed configuration for swap
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With