Question

Can't do npm install in my ember-cli application

Posted December 16, 2015 1.7k views
Ubuntu Node.js

Hi,

I have a basic ubuntu droplet, and I installed iojs and ember-cli. The issue is that when I go in my project and enter npm install the process is started but not finished. Every single time some module is failing.

I read something about this issue regarding swap, but I don’t get it . What should I do to manage this right?

Thanks.

1 comment
  • Hi! Could you post any error messages you are seeing or the end of the output from running npm install It would help us to determine the cause of the issue you are seeing. If the problem is indeed resolved by adding SWAP, that would imply that you are running out of memory.

    by Justin Ellingwood
    Swap space can be used as an "overflow" area for your system when you run out of RAM. The operating system can store data that would normally be kept in RAM on the hard drive in a specially formatted file. In this guide, we'll demonstrate how to create and use one of these files in Ubuntu 14.04.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hi,
I got to my project and then executed npm install.
Now the error was “Killed:xtend” and stops. But every time I execute I get a different “killed” message.

I wanted to post a screenshot, but I was surprise that I cant.

Submit an Answer