Hot module replacement, currently does not work when the project is present on a windows filesystem and WSL is used to run docker. This is a known limitation of WSL.
Moving the project to a linux filesystem should resolve this.
This issue https://github.com/centerofci/mathesar/issues/570 keeps track of workarounds and detailed discussions on common problems encountered while working on windows.
audit check on your pull request fails, here are the steps to fix it:
If the audit failure indicates that the issues are auto-fixable, the following commands need to be run to fix them:
npm audit fix npm install
Please make sure to run these within the container only. If you are running Mathesar locally, without Docker, make sure you use the same node and npm versions.
If the issues are non auto-fixable, identify the packages that are vulnerable.
If you you see the following error after running
docker-compose up, then the port used by Postgres is already in use.
ERROR: for db Cannot start server db: driver failed programming external connectivity on endpoint mathesar_db (70c521f468cf2bd54014f089f0051ba28e2514667): Error starting userland proxy: listen tcp4 0.0.0.0:5432: bind: address already in use.
Try stopping Postgres with:
sudo service postgresql stop
Note that you’ll need to manually start your Postgres server on your host machine again if you want to continue working on other projects which rely on that. And the next time you restart your machine, you’ll probably need to stop Postgres again before you can begin working on Mathesar.