Basic Node and Express - myApp.js Console log

Tell us what’s happening:
I added the code but it’s not recognized.

Here’s the code:

      var express = require('express');
     console.log("Hello World");
     var app = express();

      module.exports = app;

Your project link(s)

solution: https://boilerplate-express--rjespera.repl.co

Your browser information:

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

Challenge: Meet the Node console

Link to the challenge:

I just tried your link and it passed for me.

1 Like

Thanks. I had to stop and restart for the change to go in affect.

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