Hi, I have developed a small React + Redux “framework” that I would like to demo on my site. Gomix seems like a perfect tool for this. However I’m having trouble getting my example app working, as “npm install” is constantly running out of space.
I have trimmed down my package.json as much as possible, but it still fails to install on Gomix.
After running “npm install” locally with the same package.json, the resulting “node_modules” folder is about 87MB. However it seems that during the installation NPM creates several temporary files that push the space needed above the 128MB limit.
Yesterday I eventually got it to work by selectively adding dependencies to package.json, but then when I needed to upgrade one package (“kea” from “0.16.0” to “0.17.0”), it started throwing other errors (thread here: Changing a version in package.json causes a strange npm error)
Now I removed all the packages again, but even adding them one by one doesn’t seem to work anymore.
Here’s the app: https://gomix.com/#!/project/kea-example
And here is a 5 minute screencast where you can see me struggle:
How could I solve this? I would really love to let people play with the example app on Gomix, but right now it’s not possible. Even if I do get it to work, what if the npm cache is cleared and the next user who tries the demo runs into the same npm disk space issues?
For me the ideal and simplest solution would be to simply increase the disk space quota from 128MB to 256MB.