Error: ENOTDIR: not a directory Error

hey there,

I’m brand new to coding and I’m just trying to view my page and I keep getting this message in VSCode2 when I go to “Open with Live Server”

TIA <3

Not sure why, but it looks like it is trying to open the file as a directory (the / at the end). It’s pretty difficult to do much troubleshooting just based on the error and screenshot.

Try right-clicking the file and use the “Open with Live Server” (or something like that) option from the right-click menu.

I might also suggest trying Five Server instead, it’s a fork of the Live Server extension that is being actively maintained.

Thanks so much for the tip! Five Server seems to be working great for me. Thanks again!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.