Debugging
Welcome to the hell of all programmers! Don't worry, we will help you to get out of your bug.
The Debugging Guide
If you didn't read this guide before, well, you MUST begin with it. It will save you a lot of time!
π The Debugging Guide: 20 simple steps to debug anything π
Common issues on the frontendβ
Here is a list of common problems you should check if you encounter a problem.
Check-listβ
- Did you launch the frontend with
npm run start
? - Did you install the latest dependencies with
npm install
? - Is the server running?
If you're still stuckβ
- Reset the vite builder:
- remove the
.vite
folder (sometimes innode_modules
) and all of its content - run
npm run start
to make a clean build
- remove the
- Reset the dependencies:
- remove the
node_modules
folder and all of its content - run
npm ci
to make a clean Install
- remove the
Other issuesβ
Local issues can be hard to track down. Don't hesitate to:
- Ask Google/StackOverflow: you will likely find an answer there. Be sure to make your search in English to get more results.
- Ask an IA like ChatGPT: if you give enough context, it can be very useful and save you a lot of time!
- Ask a human: if you are stuck, you can ask for help on the Discord server
in the
#je-galère-avec-un-truc
channel. Be sure to give enough context to your issue, and explain what you have already tried. You can also ask a teacher.