Ask coding questions

← Back to all posts
Change repl language
AndyKillorin (17)

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!

Comments
hotnewtop
Vandesm14 (2644)

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.

Vandesm14 (2644)

@suttar2 Nope, Github intergation works with HTML repls now

suttar2 (1)

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"

'

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