CalypsoBot icon indicating copy to clipboard operation
CalypsoBot copied to clipboard

Module error

Open Alex1061 opened this issue 3 years ago • 7 comments

at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (/home/container/app.js:1:16) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/container/app.js' ] } I have all the dependies installed tho??

Alex1061 avatar Nov 01 '20 03:11 Alex1061

I don't think this is due to any issue within Calypso's codebase. Can you verify all of your files in are in their correct directories, similar to the setup of this repo? And did you get any errors after running npm install?

sabattle avatar Nov 29 '20 00:11 sabattle

Not sure why there's an issue if this can help, I just downloaded the .ZIP off Github then just ran npm install

MrCrypticxDev avatar Nov 29 '20 00:11 MrCrypticxDev

Hmm i installed it and installed all the dependies it required why am i still getting this error.I have all files on correct directories

Alex1061 avatar Dec 16 '20 11:12 Alex1061

Hmm i installed it and installed all the dependies it required why am i still getting this error.I have all files on correct directories

'MODULE_NOT_FOUND', requireStack: [ '/home/container/app.js' ]

Looks like you are using making some mistake there, The software can't detect where your app.js file is. Try again and check your folders for where the app.js really is.

Anogh297 avatar Dec 16 '20 11:12 Anogh297

I get alot of module errors so can i get the duplicate of ur node_module??

Alex1061 avatar Dec 26 '20 11:12 Alex1061

If you get node_modules error, copying won't do any good. Join the support server if you need help.

Anogh297 avatar Dec 26 '20 11:12 Anogh297

Run npm rebuild

MrCrypticxDev avatar Feb 03 '21 17:02 MrCrypticxDev