Questions tagged [npm-live-server]

NPM live-server is a software module for Node.js that allows users to create and manage a simple HTTP server that includes live-reloading capabilities.

NPM live-server is a package within npm.js (the package manager for Node.js JavaScript environments) for HTTP servers that features live-reload capabilities.

105 questions
0
votes
0 answers

Live-Server Extension VS Code Not Working

I have some problem with my Live-Server Extension on VS code. It actually is not working. It only works when i go to browser and manually refresh the page. I have tried each and every solution from the other website but nothing works for me. is…
ehsan
  • 11
  • 3
0
votes
1 answer

React live server is not displaying anything just showing the tab keep on loading

i'm working on a react app (using create react app) but my live server is not working. When ever i start it i.e run the command of npm start it open a browser tab and keep on loading... Anyone knows whats the issue.
0
votes
1 answer

Why is Live Server only loading half my HTML code?

I have searched the internet for hours trying to find someone else who shared my issue, but it seems to be entirely unique to me. So basically, I launch my very small HTML file with live server, but only 2 divs are loaded on the webpage, and I have…
Flying Nat
  • 31
  • 5
0
votes
0 answers

npm-live-server https command line configuration?

I am running live server from command line: live-server --port=8282 --host=192.168.1.231 --https=/home/.nvm/versions/node/v14.8.0/lib/node_modules/live-server-https --entry-file=/index.html I would like to add my own cert like example below: { …
0
votes
1 answer

How do I close a node.js live-server on Windows?

I am new to node.js and following a course on the topic. I have already installed node and npm and now I have opened a live-server on a simple project and would like to know if there is some way to close it again. I just put live-server into…
Daniel F.
  • 95
  • 8
0
votes
1 answer

NPM Live-server not installing on zsh

I have been trying to install live-server globally with: npm install -g live-server but I keep on getting the error message below; mac@Edozie ~ % npm install -g live-server npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+.…
Edozie
  • 11
  • 2
0
votes
2 answers

127.0.0.1 live-server in npm can't open in any browser. what is the problem here?

Please anyone help me on my laptop when i live-server public enter after install -g live-server then show this text and not open in browser:- events.js:291 throw er; // Unhandled 'error' event ^ Error: spawn cmd ENOENT at…
0
votes
0 answers

live-server HTTPS redirection

Is there any way to upgrade insecure requests on a local development server? Using live-server: live-server --https="C:\Users\pc\AppData\Roaming\npm\node_modules\live-server-https" --port=443 --host=livereload Tried using a middleware, then noticed…
Leeroy
  • 2,003
  • 1
  • 15
  • 21
0
votes
2 answers

live-server not opening up the website automatically

I installed node.js, and "npm install -g live-server" After that the input of "live-server" in the command line prompt should open up the website that is situated in the current folder, but every time I try to do that, this shows up: Serving…
Jupiter
  • 19
  • 5
0
votes
1 answer

Visual Studio Code seems to be configured badly. Emmet (tab+enter) problem, now my Life-Server (fresh install) will not work properly.. what?

I did a fresh install of Visual Studio Code on my Fedora-Linux workstation a few weeks ago and started using it since yesterday. I started working on my Course JavaScript this morning, all motivated, and when I tried to make a default index.html…
0
votes
0 answers

Live server does not show updates from SCSS in WebStorm

I have a problem with a live server. When I write SCSS, the live server does not show changes from time to time. If I delete some line of code and paste, it will show changes sometimes. I have checked @import, all is connected. I also checked _ for…
0
votes
0 answers

throw new Error('no parsers registered for: "' + self.input.slice(0, 5) + '"'); Live-server NPM

I'm on Kali Linux 2019.1, and here's my modules and scripts "scripts": { "build-task:scss-compile": "node-sass-chokidar --source-map true sass/main.scss css/style.css", "build-task:autoprefixer": "postcss css/*.css --use autoprefixer -d…
0
votes
2 answers

Facing problem regarding live-server in Atom and NodeJS

I want to set a live environment for my web application. I'm using AngularJS and NodeJS (MEAN) and I want both to run live simultaneously. What I did is, I installed live-server through npm and started server by live-server --`host=192.168.XX.XX…
Abhishek Pankar
  • 723
  • 8
  • 26
0
votes
1 answer

installing plugins like ESLint and Babel

Having some issues. I have installed Node + NPM, and finally got Live-server to work. I am trying to install babel and ESLint with terminal. But the commands are not found when I try to check the versions. user-MBP:~ user$ which…
0
votes
0 answers

Not able to install package via npm

I am trying to install live-server via npm but getting this instead: I tried resetting registry to http and both proxy and https-proxy are null.
Himanshu
  • 1
  • 1
  • 2