Skip to content
Sign upLog in
← Back to Community

why am i unable to open this repl ?

Profile icon
Koalaknightmi

if u go to it here https://repl.it/@Koalaknightmi/bible-quiz and try and open it it wont open but instead throws an error that i dont understand plz help thx

Voters
Profile icon
nuxtli
Profile icon
TheEvil
Profile icon
Koalaknightmi
Comments
hotnewtop
Profile icon
RohilPatel

@Koalaknightmi
its probably becuase u haven't successfully installed express. Try to either change the folder name. It may because of a space, as I have been annoyed by such. Please vote if this helps!

Profile icon
Koalaknightmi
Profile icon
Koalaknightmi

Error: Cannot find module 'express'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at /home/runner/index.js:2:17
at Script.runInContext (vm.js:133:20)
at Object. (/run_dir/interp.js:156:20)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)

Profile icon
Giothecoder

What’s the error? Would you mind telling us what it said?

Profile icon
Koalaknightmi

@Giothecoder
Error: Cannot find module 'express'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at /home/runner/index.js:2:17
at Script.runInContext (vm.js:133:20)
at Object. (/run_dir/interp.js:156:20)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)

Profile icon
SixBeeps

@Giothecoder
Not OP, but this is the error.

Error: Cannot find module 'express' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at /home/runner/index.js:2:17 at Script.runInContext (vm.js:133:20) at Object.<anonymous> (/run_dir/interp.js:156:20) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32)

Not a NodeJS coder, so I can't do much, but that's that.

Profile icon
Koalaknightmi

@Giothecoder
though as u can see i do have express installed

Profile icon
Giothecoder

@Koalaknightmi
hm... if you check your installed packages, it’s not there.. maybe try installing it again with repls GUI?

Profile icon
Koalaknightmi

@Giothecoder
uninstalled + reinstalled and no change

Profile icon
Giothecoder

@Koalaknightmi
darn! Hm.. install it from the shell??

Profile icon
Koalaknightmi

@Giothecoder
didnt do that but now it changed
events.js:174
throw er; // Unhandled 'error' event
^

Error: spawn ./node_modules/.bin/webpack ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
[... lines matching original stack trace ...]
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

Profile icon
Giothecoder

@Koalaknightmi
well.. I mean it’s a start lol, let’s see what we can do now. Brb

Profile icon
Giothecoder

@Koalaknightmi
um. Ok. So. Back to looking at that error... I think we should put in some catch and debug statements to see where it’s coming from this time maybe? I can’t tell where that’s coming from.

Profile icon
Koalaknightmi

@Giothecoder
ok ill back it up securly and then give u acces to try it im trying to work on something for school ron at the same time so i cant really do much on this

Profile icon
Giothecoder

@Koalaknightmi
lol same actually but cool awesome..

Profile icon
Koalaknightmi