(HELP) Meet the Node console

Hello, I am trying to pass this step,

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

but I am confused as to why it’s not passing the test.

I put console.log(“Hello World”) in the myApp.js file and tried to start the node server with npm run start but I am getting errors. Please help and thank you.

hello and welcome back to forum :slight_smile:

look into your “fcc-express-bground” import in “server.js” error is saying it cannot locate that module

happy coding :slight_smile:

1 Like

i think you have to run ‘npm install’ before you can run ‘npm run start’

1 Like

Thank you :handshake:

All I could find was this warning in the server.js file.

I did and it still didn’t work.

I solved it. I had to comment out this line of code.

After doing that the errors were fixed and I passed the tests.

1 Like

that’s weird, that line should be needed

1 Like