Tell us what’s happening:
The console (https://boilerplate-express-5.graishanniel.repl.co) is showing ‘not found’
My code so far on myApp.js
let express = require(‘express’);
let app = express(‘Hello World’);
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/22.214.171.124 Safari/537.36
Challenge: Basic Node and Express - Meet the Node console
Link to the challenge:
could you show us all of you code using the </> button on the bar above when creating a reply or topic
It is just asking that you add a
console.log() that logs out
let app = express('Hello World');
The express function should not be given any arguments.
Silly me, and thanks to you all, I have removed the ‘hello world’ from the express and added it to the console.log
As console.log(“Hello World”)
That solved it!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.