Giter Club home page Giter Club logo

Comments (8)

tapio avatar tapio commented on July 25, 2024

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.

ccctang avatar ccctang commented on July 25, 2024

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.

willrstern avatar willrstern commented on July 25, 2024

Broken on npm 1.4.9 as well. Love the utility, btw!

from live-server.

tapio avatar tapio commented on July 25, 2024

I have republished the package as version 0.6.1, now there is a .tgz, so it should work.

from live-server.

willrstern avatar willrstern commented on July 25, 2024

πŸ‘

from live-server.

martinwrightgithub avatar martinwrightgithub commented on July 25, 2024

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.

ccctang avatar ccctang commented on July 25, 2024

Did you run command? npm install -g live-server
See more info at https://github.com/tapio/live-server

from live-server.

sebackend avatar sebackend commented on July 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.