-
Notifications
You must be signed in to change notification settings - Fork 27
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
"Cannot set property 'items' of undefined" - issue building schemas.log.properites? #6
Comments
@jackwanders interesting, I never came across this.. I'll debug in both in the meantime, |
@jackwanders just downloaded |
this is very peculiar (though may end up being an obvious problem) |
I am having this issue, and only started getting it two days ago, ill see what I can come up with |
@raadad thanks, any steps to re-produce (perhaps your |
I had this same problem and after upgrading har-validator to 1.6.1, the problem went away. |
@trevan interesting, I don't honestly see how the changes in @raadad @jackwanders can you confirm |
A project I work on has a dependency on the npm
request
package, which recently added HAR validation support inv2.54.0
:request/request@4396aef
When we ran a fresh dependency installation on our project, we started getting the following error on server startup:
This leads to the following line in your codebase:
https://github.com/ahmadnassri/har-validator/blob/6b5e9d0093bf1a4deac8f003182983d9239ad131/src/index.js#L36
It appears that for some reason
schemas.log.properties.pages
isundefined
, causing this line and by extension our server to fall down.For the time being, we've fixed our dependency on
request
tov2.53.0
, but I thought it was worth alerting you to this. Any thoughts on if this is an issue in your module orrequest
's use of it?The text was updated successfully, but these errors were encountered: