Basic Node and Express - Meet the Node console

Tell us what’s happening:
Describe your issue in detail here.
I’m using replit to run the program, and there’s no myApp.js file. I created a myApp.js file in the root folder and wrote the code, console.log(“Hello World”) in it but I’m not seeing in on the console.

Your project link(s)

solution: boilerplate-npm - Replit

Your browser information:

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

Challenge: Basic Node and Express - Meet the Node console

Link to the challenge:

You are using the wrong boilerplate

And you need to keep the starting code that brings in Express and exports app.

let express = require('express');
let app = express();

module.exports = app;

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