I’m trying to contribute to https://github.com/FogCreek/Glitch-Community but I’m having trouble building the project. This is the error I get when I run
ERROR in ./src/presenters/pages/router.jsx Module not found: Error: Can't resolve '../../cache/categories' in '/home/.../Glitch-Community/src/presenters/pages' @ ./src/presenters/pages/router.jsx 23:18-51 @ ./src/client.jsx ERROR in ./src/presenters/categories.jsx Module not found: Error: Can't resolve '../cache/categories' in '/home/.../Glitch-Community/src/presenters' @ ./src/presenters/categories.jsx 9:18-48 @ ./src/presenters/pages/index.jsx @ ./src/presenters/pages/router.jsx @ ./src/client.jsx
If I remix the project I see that the cache folder is already present. But there seems to be a chicken/egg problem. It seems like the app expects the cache files to already exist. Running cache.js and server.js directly doesn’t seem to help.