npm-live-server Questions

50

I'm trying to learn react, so I have this sample code for the full-stack react voting app, and I am trying to get it to work but after running npm install followed by npm start I receive the follow...
Copyboy asked 17/2, 2017 at 23:2

7

Solved

I have a CSS file linked with my HTML file. The CSS doesn't load when loading the HTML file through live-server. The CSS works fine when opening the HTML file directly through the browser. I have...
Carcanet asked 28/6, 2019 at 13:49

10

Solved

I install live-server globally with: npm install -g live-server but for some reason it is not be found and I get the following error bash: live-server: command not found after command live-serv...
Cayes asked 20/2, 2016 at 18:29

4

Solved

I am using Windows 10 and I have installed Node.js (with npm) on my local machine. I am trying to follow an instruction which says: "Once node.js and npm are installed, run the following command i...
Mclane asked 16/4, 2020 at 12:20

4

Solved

I use live-server to live reload folder with HTML, javascript and CSS files using Visual Studio Code. When I open the console in Google Chrome I see this : "Failed to load resource: the ser...

3

Solved

I have taken the build of angular project and got dist folder.when i am trying to open the index.html in browser.I am getting the following error like failed to load resources and file not found fo...
Henleyonthames asked 7/3, 2018 at 9:54

1

I started trying out lit-html and lit-elements, playing around with it and now I git in the problem where I cannot find out how to publish such code online. Never worked with Node-js packages on on...
Cotterell asked 29/8, 2019 at 18:57

1

Solved

Trying to debug a simple HTML and JavaScript project in Visual Studio Code. In the VS Code terminal window, 'live-server' is used to launch the 'index.html'. In VS Code, the 'Debugger for Chrome' i...
Bibeau asked 26/10, 2017 at 4:17

2

Solved

I love live-server as a tool for auto-updating a project when changes are made, but I can't bare to use it anymore because it just refreshes WAY too frequently (about every 10-15 seconds) on my Mac...
Facing asked 8/8, 2017 at 19:33

3

I am getting this error when I npm start my webpack-dev-server: ERROR in multi main Module not found: Error: Cannot resolve 'file' or 'directory' /var/www/html/151208-DressingAphrodite/app in /var...
Knucklebone asked 8/12, 2015 at 15:1

1

Solved

I'm trying to get browser-sync to work in my project instead of using live-server The app structure looks like this: personal-app ├── node_modules └── src ├── app │ └── app.ts └── index.html ...
Nonobservance asked 13/11, 2015 at 12:20
1

© 2022 - 2024 — McMap. All rights reserved.