You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Node.js version: v10.15.3
live-server version: 1.2.1
The text was updated successfully, but these errors were encountered:
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.1The text was updated successfully, but these errors were encountered: