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!
I have the same problem
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
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"
'
@Vandesm14 It seems to now not work again since the nix stuff.
@GusReiber You can use https://clone.shaneatreplit.repl.co!
It seems that when you import an HTML project from GitHub, it detects it properly as HTML, but then runs Bash instead. This is not at all intuitive. I actually had to manually create a .replit file in my GitHub repo before importing. It seems like a bug to me.
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"
yes this keeps happening on node too. huge time waster, bug.
Why it appears to be that when you import an HTML project from GitHub? It distinguishes it appropriately as HTML; however, I think it runs Bash. This isn't at all instinctive. Before bringing it in, I needed to make a .replit document in my GitHub repo physically. It appears to be a bug to me.
Why it appears to be that when you import an HTML project from GitHub? It distinguishes it appropriately as HTML; however, I think it runs Bash. This isn't at all instinctive. Before bringing it in, I needed to make a .replit document in my GitHub repo physically. It appears to be a bug to me.