-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix har-validator dependency #3054
Comments
I have encountered the same error ,too. I'll try it your way. hope it works. |
But it doesn't work! |
This is the reason why 5.1.2 is no longer found. ahmadnassri/node-har-validator#112 (comment) |
@Keekuun that is strange. To solve this on an Angular7 project I simply had to install har-validator@5.1.3 as a direct dependency and so it worked |
Thanks, I've just solved it with the command "npm install har-validator" |
Summary
har-validator
has a version mismatch (see ahmadnassri/node-har-validator#113) in which the npm version is the 5.1.3, but the package.json says 5.1.2. This leads to an error doing anpm install
in a project depending on your module.Simplest Example to Reproduce
npm install
in a project with a dependency tohar-validator@5.1.2
Expected Behavior
npm install
should run smoothlyCurrent Behavior
Possible Solution
Update dependency to be
"har-validator": "~5.1.3"
instead of"har-validator": "~5.1.0"
Your Environment
The text was updated successfully, but these errors were encountered: