-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple errors #11
Comments
Hi! You are having the same issues as I do, see here. Error 2: This was fixed for me by manually install nvm, node, npm, yarn (globall), and in the Frontend folder install next, react, react-dom via npm and then add unmet peer dependencies in package.json (see below). Error 3: I don't think your frontend is running since you cant visit the page... I had it running at some point but forgot how and now in more mess it seems. Error 4: I hardcoded the credentials from .env into Backend/services/settings.py. I install and run postgres database locally (and make a database, user and password)
My package.json:
|
It is the first time that I use docker and honestly, I have no idea how it works, I have limited myself to following the installation instructions that you indicate but I cannot in any way get the app to work. In the installation instructions, step 3 states Important: Then, put the necessary environment files (.env) in this folder. Since I don't really know what to do in this step, I have limited myself to renaming the .env-template file to .env:
I am using a Windows 11 machine and Docker-desktop configured on wsl2
The first error I got was during the process
[backend 6/7] RUN pip install -r requirements.txt
:9.809 ERROR: Package 'networkx' requires a different Python: 3.8.10 not in '>=3.9'
This bug was fixed by adding 'networkx==3.1' in the requirements.txt file
The second error I ran into took place in
[+] Running 4/3
As I said at the beginning, I have no idea about docker (or next), but by consulting some related problems I was able to solve it (or so I think) by modifying the volume configuration in the services docker-compose.yml. I'm not sure if this is correct but it apparently solved the problem:
[+] Running 4/3
:I guess this is why when I access http://localhost:3000/ the page doesn't load, but although I have searched for information and it seems that using host.docker.internal instead of localhost:xxxx could be a solution as suggested in this related issue ([](https://stackoverflow.com/questions/55851632/docker-compose-network-mode -host-not-working)), I don't know where to make the modifications and therefore I haven't been able to solve it:
![image](https://private-user-images.githubusercontent.com/157492686/307759740-dd4b710d-af5b-4641-83c8-556a662a2323.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwOTM4MjMsIm5iZiI6MTcyNDA5MzUyMywicGF0aCI6Ii8xNTc0OTI2ODYvMzA3NzU5NzQwLWRkNGI3MTBkLWFmNWItNDY0MS04M2M4LTU1NmE2NjJhMjMyMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOVQxODUyMDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZTJlNmI4M2EzYmVkZDgxMDQ2NTlkMjliY2M3MzZkYjRmM2E2OThmYzIzNDRiMmJjZTViNjAyNjVjNTNiZjU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9._PQvMv3N3Qaq-yi4okztkjvbvh0WjqGP3uXJQJsQxMI)
Successfully installed translation-app
. I also don't know how to fix this error:The text was updated successfully, but these errors were encountered: