-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install -g angular-cli: Killed #2630
Comments
Ok according to this issue #1192, it's because angular cli need at least 1GB Ram. I only have 512. |
We do have a very big dependency tree now, yes (#1263). That causes some machines to have problems with |
Ran into this issue as well and came across this solution. I followed the DigitalOcean guide for adding swap instead though. |
I ran into this issue on my Raspberry Pi 3 with 1 GB RAM. Don't know how Angular-CLI install the npm packages, but for me the following worked: Create your Angular app without installing all the packages using This is going to take a while on my RPI3 and result in memory peaks of about 800 MB and also the 100MB swap are full. So there shouldn't be to much running apps on it. But using this methods, it seems that all dependencies were installed:
Now it serves successfully using
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
Repro steps.
The log given by the failure.
Mention any other details that might be useful.
I've tried to run the command many times (with and without sudo), I always get this message during installtion:
Killed
.After this message, the installation exits.
I've installed nodejs and npm this way:
The text was updated successfully, but these errors were encountered: