Travis CI "npm ci" failing early


#1

I’m reaching out today since my Travis CI are suddenly failing early (even before npm install). it seems that the package “har-validator”, version 5.1.2 has either been unpublished or skipped over, the correct version being 5.1.3. This causes Travis CI builds to fail when it tries to run “npm ci”.

Here’s an error illustrating the issue:

Any way to fix this?

Thanks


#2

You have a dependency on this version, probably in package-lock.json. You’ll have to update that.


#3

Same as Npm ERR! 404 Not Found: har-validator@5.1.2


#4

You are right!

npm install har-validator@latest --save-dev

Did the trick.

Regards