There is no index.js file then why they want it to run
doing
Hello there,
This is a bug that sometimes happens in Replit, when it cannot find a declared entrypoint file, it defaults to index.js
.
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?