Closed fabzl closed 7 years ago
Sorry for being late. This project was an experimental project and it didn't work well - I started this project so I can experiment about using redux on servers, but I abandoned it because it can't hide data due to redux structure, which causes a major problem for a card game because other player's decks are visible from other player's client.
Anyway, I was using buggy Babel 6 at the moment and it needed two export default
s to work. Since that's fixed now, I've removed it. You can just pull it again and call webpack again.
If you still want to run this project, you might need to download card data. Download JSON file from https://github.com/nodanaonlyzuul/against-humanity/raw/master/source/cards.json and drop it as src/db/cards.json
.
I'm getting an error when I try to run webpack, probably im missing something obvious, please help.
ERROR in ./src/view/room.js Module build failed: SyntaxError: Only one default export allowed per module. (89:0)
87 | }; 88 |
@ ./src/view/routes.js 23:12-29
ERROR in ./src/reducer/common/room.js Module build failed: SyntaxError: Only one default export allowed per module. (103:0)
101 | } 102 |