I am trying to install ratchet library on my droplet 512 mb Ubuntu But whenever i type php ~/composer install or update it always returns: “Nothing to install or update”
I found out that it is because of low memory so i used one of the methods decribed here to add Swap I did that too correctly, but still my composer not installing or updating library.
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.
Hello, all
What I would usually do if I’m getting that error on a Droplet with 1GB of RAM, is to add swap space, that way you would have some extra buffer in case that your RAM is fully exhausted.
You can follow the steps on how to do that here:
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04
Hope that this helps! Regards, Alex
This question was answered by @techrustcom:
I don’t know how but for some reason it started working automatically. I guess, Swap did the trick but responded late.
I don’t know how but for some reason it started working automatically. I guess, Swap did the trick but responded late.