I installed nodejsand npmon my server aws, and there were no problems. But when I tried to install bower, I got a memory allocation error. I was able to fix this by turning off the progress bar on
sudo npm set progress=false
But I get
Selection failed - error due to memory error
on npm install. I tried npm cache clean, but the same error exists.
source
share