johnpapa / lite-server

Lightweight node server
MIT License
2.31k stars 267 forks source link

Problem installing lite-server #151

Open opheliagame opened 5 years ago

opheliagame commented 5 years ago

A descriptive title

Lite-server should have got installed, but it is throwing a syntax error relating to another npm package

Bug repro steps

Please give us an isolated way to reproduce the behavior (example: GitHub repository with code that anyone can clone to observe the problem, or a Dockerfile that replicates your environment):

  1. npm install lite-server

Error

81 silly fetchPackageMetaData error for eazy-logger@^3 Unexpected end of JSON input while parsing near '...um":"b49b2357795533f0'
121 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...um":"b49b2357795533f0'
127 error Unexpected end of JSON input while parsing near '...um":"b49b2357795533f0'

Environment