Skip to content
← Back to Community
unable to run, main file "main.sh" not found
Profile icon
Axel1672

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

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
it21156950
Profile icon
it21355714
Profile icon
IT21170416
Profile icon
IT21325700
Profile icon
riwetilochkhiwt
Profile icon
rameshdonga
Profile icon
a20308051280993
Profile icon
atharva1508
Profile icon
Elif0Kn
Profile icon
EfizafitriantiS
Comments
hotnewtop
Profile icon
Coder100

Create a .replit file.
Inside, put:

run="npm start"
Profile icon
JBloves27

Which lang did you choose?

Profile icon
RYANTADIPARTHI

main.sh files are shell files, you probably have to specify them somewhere else.

Profile icon
[deleted]

Can you attach the repl to the post please?

Profile icon
SUHASTADIPARTH1

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.

Profile icon
rameshdonga

unable to run, main file "Main.java" not found

Profile icon
MaskThe

why