Error when installing http-server: No matching version found for ecstatic@^3.0.0

They've had a security issue with versions prior to 4 and have removed download links for them. You can find more details here: https://github.com/jfhbrook/node-ecstatic/issues/255 .

You'll either need a cached version from before or move to a newer version.


They are working on a fix. This is a fork on NPM:

npm i http-server-legacy 

or

yarn install http-server-legacy

Source: https://github.com/indexzero/http-server/issues/521#issuecomment-488843797


The maintainer has now patched the library, and the following versions should now be available:

2.2.2, 3.3.2, 4.1.2

Reference

Tags:

Node.Js

Npm