Yarn build dies on `This relative module was not found`
Steps to reproduce
Try to follow instructions to setup docker on either a Windows or a Mac machine.
What happens?
Yarn Build errors out with:
This relative module was not found:
* ./Embed in ./src/embed.js
This also occurs when following the Docker-less front-end setup. (At least on Mac)
What is expected?
The build to be completed successfully.
Context
Funkwhale version(s) affected: develop
The fix is relatively easy, although I'm unsure if it's due to my setup.
I followed along and downloaded Docker Desktop for Mac (and Windows.) And kept running into this error.
It can be solved by editing embed.js
and changing
import Embed from './Embed'
to
import Embed from './embed'
I'm new to using Docker, so again not sure if it's my setup