Error: Cannot find module '/app/pokemon-showdown'

I’m trying to do stuff but i get an error. This is the full error:

Error: Cannot find module ‘/app/pokemon-showdown’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:610:15)
at Function.Module._load (internal/modules/cjs/loader.js:526:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)
at internal/main/run_main_module.js:17:11

hlep help kelp

Can you show us the code that is throwing that error.

Hmmm, where do i get that from? I’m kind of new to this
u can just come by the page of the project if it helps, i can invite u real quick

Oh i think the issue i’m having is that the thing isnt finding the pokemon-showdown file with the info on the script inside package.json

It says it doesnt find it in “app/pokemon-showdown” so i guess i have to make it find the thing on the actual folder which is “app/data/pokemon-adventures-server/” but i dont know how to do that

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