Basic Node and Express - Meet the Node console

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

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

I have a replit of the files but it says this
Error: Cannot find module ‘/home/runner/boilerplate-express/index.js’
Require stack:

  • /nix/store/qpnf0dafrfsbcwb4z7cphjm0dff0vl7l-prybar-nodejs-0.0.0-e0d9a52/prybar_assets/nodejs/module-context-hook.js
  • /tmp/prybar-nodejs-144749568.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Function.resolve (node:internal/modules/cjs/helpers:109:19)
    Hint: hit control+c anytime to enter REPL.

Any help thanks. I feel like an idiot but also taken like one as these things are very fickle . For all their precision that they need I think the standards are very loosely applied while someone is working on something else bigger.

Your browser information:

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

Challenge: Basic Node and Express - Meet the Node console

Link to the challenge:

Can you please post a link to your repl?

I think you didn’t click the Done button when you opened the boilerplate.

  • Select Use run command and click the Done button.
  1. Open a new boilerplate.

  2. You should see this when you first open it. Click the “Done” button.

done-button

I done that both from the green button and since it looks like your suggestion from the blue button now. That one led slightly elsewhere to the lack of a different file but it is referred to so I don’t know why not meant to be there.

It won’t let a link however disguised be added
www. boilerplate - Replit

You need to open a new boilerplate. Delete then one you have and open and new one. Then press the Done button after the import.

I have done that already and not much changed really.

Finally whatever was overlooking my small contribution has stood up to be counted. I am not sure I believe in webview at the moment since the Application does not readily exist.

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