/home/runner/boilerplate-npm-3/server.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object. (/home/runner/boilerplate-npm-3/server.js:9:15)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [ ‘/home/runner/boilerplate-npm-3/server.js’ ]
}
exit status 1
^C
That’s from replit and I only add the author’s name with my name.
I followed your video and found out I needed to type enable-npm not enable npm. it reloaded fine but in the result, it reads not found. I guess I will have to learn how to Zoom in the morning.
I’m going back over the posed to try that and I’m using edge now too. I archived the file so everything is new plus I going to try sandbox if I can get the boilerplate in the sandbox.
var express = require("express");
var app = express();
console.log("Hello World");
app.get("/", (request, reponse) => {
reponse.send("Hello Express");
});
Console.log works but not the Hello Express. I don’t see the problem and I don’t know how to use the terminal in Sandbox. to put in the enable-npm. but i think it is my code, not the terminal do you see a mistake. https://ryhxke.sse.codesandbox.io/