Skip to content
Sign upLog in
← 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
caturlangit
Profile icon
shortyb
Profile icon
KayqueDe
Profile icon
NorHaiqal
Profile icon
YoTeix
Profile icon
Odari-Atongo
Profile icon
BizganFlorin
Profile icon
KarimAhmed13
Profile icon
itzthory
Profile icon
it21156960
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
diloga

why