Skip to content
← Back to Community
Error in my project
Profile icon
Axel1672

internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module 'noblox.js'
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 require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/runner/Reblex-renking-epi-newi-2/server.js:17:14)
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)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2020-11-06T16_46_24_166Z-debug.log
exit status 1

Voters
Profile icon
Axel1672
Comments
hotnewtop
Profile icon
RYANTADIPARTHI

It is module error. Whatever module you are importing is giving the error. You might want to remove that.

Profile icon
JBloves27

umm, isn't it kind of obvious that is is a module error? @RYANTADIPARTHI

Profile icon
RYANTADIPARTHI

@JBYT27 yeah, so you might want to remove that module, cause it's not in repl.it, or not in python.

Profile icon
JBloves27
Profile icon
JBloves27

im not the person that's asking the question :| @RYANTADIPARTHI

Profile icon
RYANTADIPARTHI

@JBYT27 sorry, nvm.

Profile icon
Coder100

oh wait nvm

change your .replit file to:

run="npm i ; npm start"
Profile icon
Coder100

send repl