I keep getting the same error

I keep getting this error

Error: Cannot find module '/home/runner/


Require stack:

- /nix/store/qpnf0dafrfsbcwb4z7cphjm0dff Ovl71-prybar-nodejs-0.0.0-e0d9a52/prybar _assets/nodejs/module-context-hook.js

/tmp/prybar-nodejs-298033726.js at Module._resolveFilename (node: int ernal/modules/cjs/loader: 995:15) at Function.resolve (node: internal/m

odules/cjs/helpers: 109:19)

Repl link:

Hi @coolkod , Could you provide a link to your repl so the community can hepl you solve your problem?

1 Like

This error means that it can’t find the index.js file, which is the default file that runs.

To change this,

  1. Click the three dots on the top-right corner of the files tab.
  2. Click “Show Hidden Files”.
  3. Go to the .replit file.
  4. Change the entrypoint value to new file you want to run.

Done :slight_smile: hope this helped