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
3
votes
1 answer

NPM live server won't load my project website

I'm new in using NPM. I wanted to load my project website in live server, but whenever I type live-server in the terminal, it only shows LISTING DIRECTORY (which is the list of all the files I have in my project website folder such as html, css, &…
izee
  • 183
  • 2
  • 4
  • 10
3
votes
3 answers

live-server can't find the file specified

I'm trying to setup a reactjs project and using live-server. My project structure - fa/ -node-modules/ ... -public/ bundle.js index.html -src/ app.js package.json My package.json file - { "name": "fa", "version": "1.0.0", …
paul-shuvo
  • 1,874
  • 4
  • 33
  • 37
2
votes
0 answers

Why do I have to restart live-server to see changes?

I have a new laptop and have installed VSCode and nodeJS to continue working on my projects. Unfortunately I have to restart the server every time to see my saved changes. Here is what is displayed in the console: [HMR] Waiting for update signal…
Hendrik
  • 21
  • 1
2
votes
2 answers

Node Live-server suddendly stopped working and now is showing weird stuff

I last used it on wednesday last week when I worked and it worked perfectly fine with no problems. Now that I came back today and wanted to start it with live-server it showed symbolds in the console and even waiting for 5 minutes nothing else…
Royal Foxy
  • 49
  • 4
2
votes
3 answers

Whatss the difference between Open in Live Server and Open in Default browser

My website is showing difference on vsc live server and normal browser. This is Live Server enter image description here And this is normal browser enter image description here why this both is have differents?which one i should use
Alperen
  • 21
  • 2
2
votes
1 answer

VSCode Live Server Extension infinitley loading on local host

Recently my live server extension on VSCode stopped working. I do not know why, but now when hitting the go-live button, I am stuck infinitely loading my localhost on port 5500. I have tried reinstalling the extension, right-clicking my index.html…
2
votes
1 answer

How Can I run/start json-server and live-server using NPM scripts start in package.json?

I have a project which has html/css/javascript files, and I want to type the command npm start to run json-server and live-server. I tried this command: "start": "json-server --watch db.json && live-server", but it starts the first command only, and…
Luane
  • 61
  • 1
  • 7
2
votes
1 answer

Can I make this workflow faster? Rollup watch / npm live-server

I'm trying to achieve a 'live' workflow for a website i'm about to build. It's based on this boilerplate. I currently have this workflow working: Write code -> Save -> 'Rollup watch' rebuilds build/main.js from src/main.js -> 'live-server'…
704
  • 287
  • 2
  • 3
  • 12
2
votes
0 answers

dyld: lazy symbol binding failed: Symbol not found: _FSEventStreamCreate

When trying to run npm start, I'm receiving two errors dyld: lazy symbol binding failed: Symbol not found: _FSEventStreamCreate dyld: Symbol not found: _FSEventStreamCreate This happens in every local repository on my machine, except one. What…
2
votes
0 answers

Uncaught ReferenceError Function undefined

I have an external js file with one function that I am trying to test. I cannot get the function to call from a onclick. I had an init function and I removed the call to that and just called the loadJSON function directly, but no matter what I do I…
Adam Schneider
  • 275
  • 1
  • 5
  • 18
2
votes
1 answer

How to get external URL for Live Server in Visual Studio Code?

Live Server is quite handy while developing and debugging. This feature is available in node packages $ npm install browser-sync --save-dev Then below command will provide the Local and External URL to get the live updates in our HTML page. $ gulp…
VA splash
  • 553
  • 1
  • 8
  • 25
2
votes
1 answer

Live-server Visual Studio Code browser won't auto update

I'm pretty new to web developing and very new to VS code. I'm trying to use live-server to be able to get the html in the browser to update without having to refresh the browser. I can't get it to work and I have been googling and trying stuff out…
2
votes
3 answers

Browser not launching with BrowserSync or live-server

I've been using live-server with VS Code to debug some web pages. Everything was fine, I ran live-server from my command line in the page directory and Chrome opened a new tab with the page. Then suddenly it stopped working! I though it was a bit…
2
votes
1 answer

Apache serve single page application alongside WSGI process with AliasMatch

I would like to configure my Apache web server to serve both a single page application, as well as a WSGI process. I can successfully serve the WSGI app at /api using this config: WSGIDaemonProcess myapp threads=5 user=apache WSGIScriptAlias /api…
SeanPlusPlus
  • 8,663
  • 18
  • 59
  • 84
1
vote
0 answers

VSCode/NodeJS live-server execution issue

Getting an error while running live-server command on VSCode and as well as on Command Prompt. File cannot be loaded. The file is not digitally signed. You cannot run this script on the current system. For more information about running scripts and…