Basic Node and Express - Meet the Node console

Tell us what’s happening:
Describe your issue in detail here.
I’ve tried a couple different links to my project and re-used another repo to try and get this to push through.
console.log(“Hello World”), also ‘Hello World’ won’t push through for this particular problem. Seems to maybe be a replit issue?

// running tests

"Hello World"

should be in the console // tests completed
Your project link(s)
https://boilerplate-express.daryland.repl.co
solution: boilerplate-express (1) - Replit
solution: boilerplate-express (1) - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0

Challenge: Basic Node and Express - Meet the Node console

Link to the challenge:

It works in this version

https://replit.com/@Daryland/boilerplate-express-1?v=1

because you have the app export at the bottom module.exports = app;

Which you do not have in this one

https://replit.com/@Daryland/boilerplate-express?v=1.

and the export must be there so it can be imported and used in server.js

1 Like

I will say I’m on to the next one and it’s continuing to give me the same issue, it’s failing for not having “hello express” in the damn console. This is pretty annoying.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.