Code not generating output

Question:
this is the first time im encountering this issue, when i ran the code it didnt give any output so i commented out everything and kept only console.log still it didnt give me the output. ANyone knows how to fix this?

Replit Profile: https://replit.com/@AvinashTallapan

Hey @AvinashTallapan welcome to the forums!

That is because Replit is running the index.js file. To fix that rename that file to index.js or edit the entry point in the .replit file to that file

1 Like