Ask coding questions

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

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 (18191) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18191)

Create a .replit file.
Inside, put:

run="npm start"
[deleted]

Can you attach the repl to the post please?

JBloves27 (1887)

Which lang did you choose?

SUHASTADIPARTH1 (190)

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)

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