Basic Node and Express - Meet the Node console

Tell us what’s happening:

i am stuck in this question and i cannot solve it
// running tests

  1. “Hello World” should be in the console
    // tests completed
    // console output
    [Error]

###Your project link(s)

solution: https://debug-freecodecam-boilerplate-d10qr5ju96q.ws-eu117.gitpod.io

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Basic Node and Express - Meet the Node console

Are you working in Gitpod?

I don’t know @michaelba21. I can’t help you. I’ve played with Node before but I’m not that far yet in the fCC curriculum. So I tried doing the first step of Backend/API myself, both on my local system and in Gitpod. In both cases, “Hello World” was logged in the console, but when I shared the Gitpod link in this step, like you did, my test didn’t pass either. (BTW, if anyone wants to do this project on their local system, you need to run “npm install node_module” to get the node_modules folder.) Sorry. :slightly_frowning_face:

1 Like

you should unshare your workspace, people could vandalise it. The best thing to ask for help is sharing a snapshot.

I see from your screenshot that the server stopped working, you should have the server going when you submit the link

ok thanks, i will pay attention to it. have good day ahead

I do not know answer of this question. anyone knows this??? Please if you know the answer reply to me. thanks.
Working on these challenges will involve you writing your code using one of the following methods:

During the development process, it is important to be able to check what’s going on in your code.

Node is just a JavaScript environment. Like client side JavaScript, you can use the console to display useful debug information. On your local machine, you would see console output in a terminal. On Gitpod, a terminal is open at the bottom of the editor by default.

We recommend to keep the terminal open while working at these challenges. By reading the output in the terminal, you can see any errors that may occur.

The server must be restarted after making changes to its files.

You can stop the server from the terminal using Ctrl + C and start it using Node directly (node mainEntryFile.js) or using a run script in the package.json file with npm run.

For example, the "start": "node server.js" script would be run from the terminal using npm run start.

To implement server auto restarting on file save Node provides the --watch flag you can add to your start script "start": "node --watch server.js" or you can install an npm package like nodemon. We will leave this to you as an exercise.


Modify the myApp.js file to log “Hello World” to the console.

share your code and what steps you have taken to start the server and what link you are submitting

Thanks for replying, I solve it today. Have nice day