When I run live-server on the command line in home directory for my project, it loads my index.html but does not load my stylesheet css/style.css. It's looking for a directory instead of a file. This is what appears in my Terminal:
Error: ENOTDIR: not a directory, stat '/Users/path_to_project/css/style.css/' GET /css/style.css/ 500 0.379 ms - 278
In the <head> of index.html: <link rel="stylesheet" href="css/style.css">
Software details
Command line used for launching live-server: live-server
OS: macOS Mojave 10.14.4
Browser (if browser related): Chrome Version 73.0.3683.86 (Official Build) (64-bit)
Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting
Issue description
When I run
live-server
on the command line in home directory for my project, it loads myindex.html
but does not load my stylesheetcss/style.css
. It's looking for a directory instead of a file. This is what appears in my Terminal:Error: ENOTDIR: not a directory, stat '/Users/path_to_project/css/style.css/' GET /css/style.css/ 500 0.379 ms - 278
In the
<head>
ofindex.html: <link rel="stylesheet" href="css/style.css">
Software details
live-server
:live-server
live-server
version: 1.2.1