Ask coding questions

← Back to all posts
need debug help
nanasv

I probably think my set up to this project on replit is correct, but this error keep displaying.
could not find such file or directory. Enoen, and am confuse please can some one help debug or suggest for me thanks.

Answered by themining72 [earned 5 cycles]
View Answer
Voters
nanasv
Comments
hotnewtop
themining72

Your file name is server.js, replit only runs index.js files, if you still want it as server.js, make a file name .replit and put in:

nanasv

@themining72
thanks, I was able run on index.js I have tried every thing with server.js but to no avail. Thanks ones again