New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot GET /index.html #8
Comments
I am getting the same issue. I've reinstalled vscode with version 1.20.1 and reinstalled the preview plugin. |
#7 I think the issue is coming from the fact that pro program is confused between / path separators and \ path separators. |
I got this issue when I had two workspaces open. Switching to just one workspace fixed it. |
Hi, I'm having this same exact issue, I only have 1 workspace open. also when I try to use https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer: It says it needs a body and html tag, but the html does have a body and html tag. any thoughts or solutions? |
Sorry for the late reply. |
@Pavilion @LizKeay @Dmitri801 |
Thanks - issue resolved for me. |
how you solved it |
In case it helps anyone else, I originally named my distribution folder as "public_html" and got this error. I renamed it to "public" and updated the config files, etc. restarted VS Code and it worked fine. |
rename it to another name and it will work fine |
Yes, it works only for files from one workspace (one ancestor folder). The best way to check where it is busy/blocked is by pasting http://localhost:8080/ into your browser. Close everything in your workspace open again where you want it and that will sort it |
I had this issue and solved it by removing special characters from my file name. I had a file with #2 in the name, I removed the # from the title and everything worked fine. |
I had that message when another file was opened in that extension. Just close all the folders in the File menu of the VScode and that should solve it. |
Thank you @ccomstudio I had the same issue in folder name I have used '&' removing special character solved my problem. |
I had just disable all the extensions which were working , and then i enabled it again and it started working as same as before.. |
i were stuck with the same issue but resolved it finally. |
Same as mine, so it means that the live server will work only for 1 workspace.. |
I had the same problem but here is the solution . |
thanks!!! |
A very simple change worked for me, just try changing your folder name in which your files are present, sometimes if your folder container has too many symbols and characters with spaces in it, change it to something simple without many characters. |
i have the same problem i still can not solve it |
@busybee23 Thanks, that worked for me. The '&' character in the folder name was the issue for me. |
I resolved mine by removing the special character "&" from my folder name |
No worries sir. |
just update the vscode |
who got a solution to this problem? i'm having the same issue |
Basta você renomear o arquivo index.html , pois pode estar ocorrendo um sobrepujamento de arquivos com nomes iguais, nesse caso (index.html), assim é só salvar o novo nome do arquivo e executar o servidor "LiveServer". |
Thank you very much bro... |
I solved this issue by removing special characters like &. |
I try to F1 -> Show live server preview and this appears...
Using v.1.21.0-insider
The text was updated successfully, but these errors were encountered: