Open kiuKisas opened 3 years ago
Hmm. Seems like an internal error. Any more examples of how to make it happen? I’m nof seeing it on my end. Will be using that plugin extensively next week.
It was an internal error indead, that I found by checking the log. In my case, the "true" error was hidden to me by too many error from seo-check. Not a priority, but if we can do something about it it can be great :)
Looks like it's line 97 in rules.js in my case TypeError: Cannot read property 'length' of undefined
tester.test(90, assert_1.default.notStrictEqual, metas[0].content.length, 0, 'Meta description should not be empty');
Maybe I have a meta element without a content attribute somewhere or something like that.
During the build, I'm having these error that I didn't have in the previous version of seo-check. I don't have time to investigate today so I post it here and I will dig more in the next days.
Full log taht appears several times in a row: