# File with specified path does not exist - Error, please help!

**URL:** <https://community.vscodeedu.com/t/file-with-specified-path-does-not-exist-error-please-help/2193>\
**Category:** projects\
**Created:** [June 17, 2025, 10:22pm UTC](https://community.vscodeedu.com/t/file-with-specified-path-does-not-exist-error-please-help/2193 "2025-06-17T22:22:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KWyattYHS](https://avatars.discourse-cdn.com/v4/letter/k/258eb7/32.png) [@KWyattYHS](https://community.vscodeedu.com/u/KWyattYHS)\
**Post date:** [June 17, 2025, 10:22pm UTC](https://community.vscodeedu.com/t/file-with-specified-path-does-not-exist-error-please-help/2193/1 "2025-06-17T22:22:24Z")

</div>

I have run into some trouble publishing a website and repeatedly getting this error: “File with specified path does not exist.”

I have done some debugging and trouble-shooting without success.

I have gone line by line in all the code and can’t find an error, typo, or errant tag.

As a last resort, I transferred all the code to Text Edit on a windows machine, and it opened in several browsers(Chrome, FIrefox, and Safari) without any issues at all.

It seems like an issue with VS Code, but I am not sure.

Any thoughts or help would be greatly appreciated!

Respectfully,

Kevin

---

<div class="post-metadata">

**Author:** ![benvillalobos](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.vscodeedu.com/benvillalobos/32/552_2.png) [@benvillalobos](https://community.vscodeedu.com/u/benvillalobos)\
**Post date:** [June 19, 2025, 10:10pm UTC](https://community.vscodeedu.com/t/file-with-specified-path-does-not-exist-error-please-help/2193/2 "2025-06-19T22:10:12Z")

</div>

Hey Kevin, thanks for reporting this. We need a bit more information to investigate. Would you be able to share the project that’s failing to publish? If there is any sensitive information, please create a minimal project that reproduces the issue. Once we have that we can begin investigating further 🫡

---

<div class="post-metadata">

**Author:** ![KWyattYHS](https://avatars.discourse-cdn.com/v4/letter/k/258eb7/32.png) [@KWyattYHS](https://community.vscodeedu.com/u/KWyattYHS)\
**Post date:** [June 20, 2025, 5:20pm UTC](https://community.vscodeedu.com/t/file-with-specified-path-does-not-exist-error-please-help/2193/3 "2025-06-20T17:20:18Z")

</div>

> **[Visual Studio Code for Education](https://vscodeedu.com/BjMgHKfgzwrzI3Yljwu1)**
>
> Visual Studio Code for Education. Powering the next generation of developers.

This is the code. I have made a copy of everything and when I go to publish it, I get the error:

“File with specified path does not exist.”

But, if I copy all files to Text Editor or Notepad, it displays in Google Chrome without trouble.

---

<div class="post-metadata">

**Author:** ![benvillalobos](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.vscodeedu.com/benvillalobos/32/552_2.png) [@benvillalobos](https://community.vscodeedu.com/u/benvillalobos)\
**Post date:** [June 20, 2025, 5:29pm UTC](https://community.vscodeedu.com/t/file-with-specified-path-does-not-exist-error-please-help/2193/4 "2025-06-20T17:29:39Z")

</div>

Thanks for sharing the project, Kevin. I can confirm I see the issue when I duplicate the project and publish it myself. We’ll get back to you once we figure out what the problem is.

---

<div class="post-metadata">

**Author:** ![benvillalobos](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.vscodeedu.com/benvillalobos/32/552_2.png) [@benvillalobos](https://community.vscodeedu.com/u/benvillalobos)\
**Post date:** [June 20, 2025, 5:59pm UTC](https://community.vscodeedu.com/t/file-with-specified-path-does-not-exist-error-please-help/2193/5 "2025-06-20T17:59:12Z")

</div>

It turns out published sites expect an `index.html`, and your project doesn’t have one. The fix would likely be to rename your `Home.html` to `index.html`.

Let me know if that resolves the issue 🙂
