Change repl language
An html project that I imported from github is trying to run in bash. How do I change the mode to html+css+js? Thanks!
ykessler (0)
Just dealt with this. Don't think you can change an existing repl type but all you have to do is create a new repl of type HTML, CSS, JS
, and then click 'Import from Github'.
And I think you also may need to create/change the .replit
file to:
language = "html"
run = "index.html"
Nashorn1 (1)
i have an html project, its imported as node and complaining about main.sh
The only way to do this is to create an HTML repl and manually transfer the files by hand. HTML repos do now import into repl.it correctly, yet.
Is this still true? @Vandesm14
@suttar2 Nope, Github intergation works with HTML repls now
Thanks for the reply @Vandesm14. I realized it was automatically running my project as bash and I needed to change my replit launch file to say
'
language = "html"
run = "index.html"
'