Ask coding questions

← Back to all posts
unable to run, main file "" not found
Axel1672 (5)

unable to run, main file "" not found
How can I correct that error in red and why does it appear?

Answered by Coder100 (18191) [earned 5 cycles]
View Answer
Coder100 (18191)

Create a .replit file.
Inside, put:

run="npm start"

Can you attach the repl to the post please?

JBloves27 (1887)

Which lang did you choose?


You just have to create a bash repl and run it from there. Then you can create other files like python, c, and code it from there.

RYANTADIPARTHI (6018) files are shell files, you probably have to specify them somewhere else.