Comments (8)
Hmm, works here with npm 1.3.10, but trying the link directly indeed gives not found error. Will look into it, thanks for the report.
from live-server.
Same here. Just installed with the latest window installer (v0.10.29). Tried to make live-server work.
Running npm install -g live-server
It failed. Here is the log file,
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'live-server' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose cache add [ 'live-server', null ]
6 verbose cache add name=undefined spec="live-server" args=["live-server",null]
7 verbose parsed url { protocol: null,
7 verbose parsed url slashes: null,
7 verbose parsed url auth: null,
7 verbose parsed url host: null,
7 verbose parsed url port: null,
7 verbose parsed url hostname: null,
7 verbose parsed url hash: null,
7 verbose parsed url search: null,
7 verbose parsed url query: null,
7 verbose parsed url pathname: 'live-server',
7 verbose parsed url path: 'live-server',
7 verbose parsed url href: 'live-server' }
8 silly lockFile 9528180e-live-server live-server
9 verbose lock live-server C:\Users\ctang\AppData\Roaming\npm-cache\9528180e-live-server.lock
10 silly lockFile 9528180e-live-server live-server
11 silly lockFile 9528180e-live-server live-server
12 verbose addNamed [ 'live-server', '' ]
13 verbose addNamed [ null, '' ]
14 silly lockFile 180ee697-live-server live-server@
15 verbose lock live-server@ C:\Users\ctang\AppData\Roaming\npm-cache\180ee697-live-server.lock
16 silly addNameRange { name: 'live-server', range: '', hasData: false }
17 verbose url raw live-server
18 verbose url resolving [ 'https://registry.npmjs.org/', './live-server' ]
19 verbose url resolved https://registry.npmjs.org/live-server
20 info trying registry request attempt 1 at 21:35:33
21 verbose etag "B6EPIQLETLBQ0JY0D7IZW7WQC"
22 http GET https://registry.npmjs.org/live-server
23 http 304 https://registry.npmjs.org/live-server
24 silly registry.get cb [ 304,
24 silly registry.get { date: 'Tue, 29 Jul 2014 01:35:41 GMT',
24 silly registry.get server: 'Apache',
24 silly registry.get via: '1.1 varnish',
24 silly registry.get 'last-modified': 'Tue, 29 Jul 2014 01:35:42 GMT',
24 silly registry.get 'cache-control': 'max-age=60',
24 silly registry.get etag: '"B6EPIQLETLBQ0JY0D7IZW7WQC"',
24 silly registry.get 'x-served-by': 'cache-dfw1833-DFW',
24 silly registry.get 'x-cache': 'MISS',
24 silly registry.get 'x-cache-hits': '0',
24 silly registry.get 'x-timer': 'S1406597741.873071,VS0,VE289',
24 silly registry.get vary: 'Accept',
24 silly registry.get 'content-length': '0',
24 silly registry.get 'keep-alive': 'timeout=10, max=50',
24 silly registry.get connection: 'Keep-Alive' } ]
25 verbose etag live-server from cache
26 silly addNameRange number 2 { name: 'live-server', range: '', hasData: true }
27 silly addNameRange versions [ 'live-server',
27 silly addNameRange [ '0.1.0', '0.1.1', '0.2.0', '0.3.0', '0.4.0', '0.5.0', '0.6.0' ] ]
28 verbose addNamed [ 'live-server', '0.6.0' ]
29 verbose addNamed [ '0.6.0', '0.6.0' ]
30 silly lockFile ee9daf9d-live-server-0-6-0 [email protected]
31 verbose lock [email protected] C:\Users\ctang\AppData\Roaming\npm-cache\ee9daf9d-live-server-0-6-0.lock
32 silly lockFile 453c2edf-ive-server-live-server-0-6-0-tgz https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz
33 verbose lock https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz C:\Users\ctang\AppData\Roaming\npm-cache\453c2edf-ive-server-live-server-0-6-0-tgz.lock
34 verbose addRemoteTarball [ 'https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz',
34 verbose addRemoteTarball '65dcc884df6aace350ca618dcc787f0e97760e90' ]
35 info retry fetch attempt 1 at 21:35:34
36 verbose fetch to= C:\Users\ctang\AppData\Local\Temp\npm-29896-Uc-lwbCG\registry.npmjs.org\live-server-\live-server-0.6.0.tgz
37 http GET https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz
38 http 404 https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz
39 error fetch failed https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz
40 silly lockFile 453c2edf-ive-server-live-server-0-6-0-tgz https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz
41 silly lockFile 453c2edf-ive-server-live-server-0-6-0-tgz https://registry.npmjs.org/live-server/-/live-server-0.6.0.tgz
42 silly lockFile ee9daf9d-live-server-0-6-0 [email protected]
43 silly lockFile ee9daf9d-live-server-0-6-0 [email protected]
44 silly lockFile 180ee697-live-server live-server@
45 silly lockFile 180ee697-live-server live-server@
46 error Error: 404 Not Found
46 error at WriteStream. (C:\Program Files\nodejs\node_modules\npm\lib\utils\fetch.js:58:12)
46 error at WriteStream.emit (events.js:117:20)
46 error at fs.js:1603:14
46 error at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:105:5
46 error at Object.oncomplete (fs.js:107:15)
47 error If you need help, you may report this *entire log,
47 error including the npm and node versions, at:
47 error http://github.com/npm/npm/issues
48 error System Windows_NT 6.0.6002
49 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "live-server"
50 error cwd C:\Users\ctang\work\nodejs
51 error node -v v0.10.29
52 error npm -v 1.4.14
53 verbose exit [ 1, true ]
from live-server.
Broken on npm 1.4.9 as well. Love the utility, btw!
from live-server.
I have republished the package as version 0.6.1, now there is a .tgz, so it should work.
from live-server.
from live-server.
Its not working for me on npm 1.3.10. It appeared to install with out error, and is in my node_modules directory. But when I run the command I get "live-server: command not found".
Is there any more information that I can give that would help?
from live-server.
Did you run command? npm install -g live-server
See more info at https://github.com/tapio/live-server
from live-server.
I have a poblem trying to install live-server on Mac OS High Sierra. I have tried to install it with npm and yarn and without warnings or errors...all good,all green, but when i type live-server -v command, it shows this:
zsh: command not found: live-server
npm version 5.6.0
yarn version 1.7.0
node version 8.11.2
Any idea?
from live-server.
Related Issues (20)
- Override command line arguments
- Live server does not automatically refresh browser, even with head and body tags in html
- Live Server won't reload or inject nested CSS files on change. (WSL) HOT 1
- Upon running 'live-server', my terminal is spammed with Jargon. HOT 12
- Handling Content-Security-Policy (CSP)
- "live-server": 1.2.1 references to "chokidar": "^2.0.4" which contains "glob-parent": "^3.1.0"
- Is this project alive? HOT 7
- Can live-server show file details like Apache?
- Bug: `/usr/bin/env: βnode\rβ: No such file or directory` HOT 12
- not working
- Live-server doesn't view changes automatically
- up to date alternative HOT 3
- It doesn't reload on changes HOT 2
- Prevent script injection in an iframe HOT 1
- liveReload no work in WSL2
- Does not load at all
- Live-server links to local files do not work HOT 6
- https not working properly
- How can I get live-server to work with URLs that are prepended with a base URL during production builds?
- Consider moving to esm and then build for cjs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from live-server.