Hello there and thanks for taking the time to respond. I have updated the repository (myApp.js) with
const express = require(âexpressâ);
const app = express();
I was just updating the repository on Github and providing the link to it. Didnât know that I would have to run a server locally. Any guidance on that?
Go to the node website and download it. Install it. Open your terminal inside the code folder, you can also use the built-in terminal in VS Code. Then run the two commands I gave you.
For the Gitpod, I get the error âError timeout, the server isnât connectingâ. Same goes for Replit. I tried using both âmicrosoft edgeâ and âchromeâ. I will be continuing with installing node.js locally and see what happens. The thing is that some other courses require to work on gitpod
I realised that the network that I was on was preventing me from accessing gitpod. Now that I connected from another network I am allowed to enter gitpod. I have made the changes discussed above and when providing the freecodecamp with either âhttps://freecodecam-boilerplate-gt4mk4mgyr0.ws-eu110.gitpod.io/â or âhttp://localhost:3000â I get the error
If you are running it locally, that would be http://localhost:3000 if you are running it on Gitpod, it is the link from the preview window (it starts with 3000:)
Do you have it running or not?
I would suggest you use Gitpod if you do not know how to run it locally.
In the future, please create your own topic when you have specific questions about your own challenge code. Only respond to another thread when you want to provide help to the original poster of the other thread or have follow up questions concerning other replies given to the original poster.
The easiest way to create a topic for help with your own solution is to click the Ask for Help button located on each challenge. This will automatically import your code in a readable format and pull in the challenge url while still allowing you to ask any question about the challenge or your code.