We realized that when following the guide to set up the development environment, many users encounter very similar errors. What happens is that users will often search on the Internet for a quick solution and if that does not work, they will ask a another team member. However, this approach is not very effective. In fact, since the same error will often occur multiple times for different users, the team members are often answering the same questions over and over again. Also, the new developpers are wasting precious time searching for answers on the Internet.
A solution to this problem is to create a FAQ section. In this FAQ, we will document frequently encountered errors by S.O.N.I.A developpers.
- VSCode shows there's errors in my code even if I can compile my code.
- I have a red cross next to the name of my branch on Github.
- On VSCode, when I try to reopen the code inside Docker Container, it shows an error.
- I get the error: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying…
- When I try to use the command “Remote-Containers: Reopen in Container”, it asks me to “select a container configuration definition”.
- Everytime I open the project in my remote containers, it takes some time to build the image.
- When I compiled, I had a lot of Warning messages inside the log. Should I be concerned?
- How can I tell if I’m working on the remote container or if I’m working on the local version of the code?
- For some not obvious reasons, when I modify code inside the remote container and then switch back to my local directory, the changes are gone.
- I was able to connect to the remote container until recently. I think I made some changes on my local directory, but I'm not sure what is causing the problem.