There is no index.js file then why they want it to run
This is a bug that sometimes happens in Replit, when it cannot find a declared entrypoint file, it defaults to
To fix this, you might need to edit the
.replit file to ensure it includes:
run = "npm start" entrypoint = "server.js"
If you do not see the
.replit file, click on the three vertical dots in the
Files tab, and select something along the lines of “Show hidden files”.
Hope this helps
but there is no .replit file
did you try to show the hidden files as suggested earlier?