Here are the steps that I have done, the same way I did in Managing Packages with NPM:
- Clone this GitHub repo with
git clone email@example.com:freeCodeCamp/boilerplate-express.git
console.log("Hello World") in
- Open up
Here’s what the browser looks like:
Hello World does show up in my terminal:
Also when I look around
server.js, here’s what I found (not sure if it’s relevant):
Any this is the
"start": "node server.js"
I literally just got started and I’m already stuck. Any clue is appreciated.
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Challenge: Basic Node and Express - Meet the Node console
Link to the challenge:
Do you have the project files updated on your GitHub account? If so, can you supply a link to your repo?
Also, when did you clone the repo?
I’m not sure how to do that. I thought I could complete the challenges locally.
And I cloned it like 2 hours ago.
You can do everything locally for the challenges (not the certification projects). We just we will not be able to help you as well without seeing the full project code.
What exactly happens when you submit
http://localhost:3000/ for the challenge? Does the test pass/fail? Do you see any error messages showing up in the browser console? Do you see any error messages showing up in the terminal where Node is running when you submit the url?
I don’t know how to push a cloned repo to my own account, so I downloaded their ZIP and
git init and push it to a new repo here.
With this new repo, when I
npm start the browser still shows
Not Found, no error messages showing up in the browser console, however I tried submitting it to fCC and the test passed! Now I’m very confused
Same issues happening on my end. Cannot get past this lesson
hello world u see in the console not in screen web