Not found error

I can’t get my project working, error:
const err = new Error(message);
Cannot find module ‘ejs’
However the server does seem to run,
==> Exited with status 1

Jul 11 04:44:37 AM==> Common ways to troubleshoot your deploy:
Jul 11 04:44:37 AM==> Using Node version 20.15.1 (default)
Jul 11 04:44:37 AM==> Docs on specifying a Node version:
Jul 11 04:44:38 AM==> Using Bun version 1.1.0 (default)
Jul 11 04:44:38 AM==> Docs on specifying a bun version:
Jul 11 04:44:42 AM==> Running ‘node index.js’
Jul 11 04:44:43 AM==>Server running on port 3000

github - GitHub - anaymehra/pokedex-project: (1/3) Pokemon Project
render link - https://pokedex-project-f9r9.onrender.com

ejs isn’t in your list of dependencies.

1 Like

Up and working,
Thanks

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