Terrastories / terrastories

Terrastories is a geostorytelling application for mapping, managing and sharing place-based stories.
https://terrastories.app
MIT License
319 stars 157 forks source link

"Run Yarn twice" bug #372

Closed kalimar closed 4 years ago

kalimar commented 5 years ago

Our documentation currently recommends running docker-compose build as well as docker-compose run web yarn install. This shouldn't be needed because yarn install is built into the build script.

This ticket requires researching the root cause of the issue and providing a solution that works on all three operating systems: Windows, macOS, and Linux.

anusha5695 commented 5 years ago

I @kalimar : I will like to look into this

wulffeld commented 5 years ago

@anusha5695 Just starting out with terrastories and hit this problem. I think it's because public/packs is versioned. Removing public/packs and it works like a charm.

kalimar commented 5 years ago

Great news. We'll cut another ticket to clean up the docs for people not to run things twice.

wulffeld commented 5 years ago

@anusha5695 Are you still interested in this ticket? Otherwise I'll be happy to fix it.

kalimar commented 5 years ago

@anusha5695 Thanks for considering the ticket. We can definitely find you some more issues in around node modules if you are interested. @wulffeld found a solution and is going to submit a PR.