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
Before you open an issue, please check if a similar issue already exists or has been closed before.
A descriptive title
The behavior you expect to see, and the actual behavior...
For feature requests, a description of the problem you're trying to solve, including why you think this is a problem.
Bug repro steps
Please give us an isolated way to reproduce the behavior (example: GitHub repository with code that anyone can clone to observe the problem, or a Dockerfile that replicates your environment):
Environment
lite-server version:
nodejs version:
npm version:
OS type/version:
The text was updated successfully, but these errors were encountered:
So I have to start an html file from the VS code terminal using npm start for my bootcamp. But I when I do that the webppage gives me an error cannot GET/. My instructor says its a linux problem
@Nomal-patel lite-server can't find your index.html (see the 404 error)
Did you start lite-server from the same directory as where your index.html is saved?
Otherwise you should use --baseDir option.
For example:
My index.html is in the subfolder "src".
So I start live-server like this: lite-server --baseDir='src'
Before you open an issue, please check if a similar issue already exists or has been closed before.
A descriptive title
The behavior you expect to see, and the actual behavior...
For feature requests, a description of the problem you're trying to solve, including why you think this is a problem.
Bug repro steps
Please give us an isolated way to reproduce the behavior (example: GitHub repository with code that anyone can clone to observe the problem, or a Dockerfile that replicates your environment):
Environment
lite-server
version:nodejs
version:npm
version:The text was updated successfully, but these errors were encountered: