respimagelint
respimagelint copied to clipboard
JS Error (blank screen unable to complete results)
I tried running respimagelint on my homepage, but get the following error:
linter.js:455 Uncaught TypeError: ((0 , _parseMedia2.default)(...) || []).forEach is not a function
at linter.js:455:485
at Array.forEach (
Site URL: https://www.boardgamedungeon.net/
I was not able to reproduce that issue on your website. Which browser (and version) are you using?
Chrome. 109.0.5414.120 (Official Build) (64-bit)
I see this same issue 😦

URL is https://jetpack.com/blog/best-lazy-load-plugin-for-wordpress/
Version 110.0.5481.77
I'm experiencing the same issue. This tool was really useful to me, so I hope it can be fixed.
Can you please try if using the chrome extension from https://github.com/ausi/respimagelint/issues/84#issuecomment-1469451685 works for you?
Thanks for the suggestion, but I already tried that and I still get the blank screen and this error in the console. I'm on the latest Chrome (111.0.5563.64) on Mac.
[image: image.png]
On Thu, Mar 16, 2023 at 10:48 AM Martin Auswöger @.***> wrote:
Can you please try if using the chrome extension from #84 (comment) https://github.com/ausi/respimagelint/issues/84#issuecomment-1469451685 works for you?
— Reply to this email directly, view it on GitHub https://github.com/ausi/respimagelint/issues/85#issuecomment-1472234264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6PVLOCU6TGS2H24GM3YG3W4MY6HANCNFSM6AAAAAAUQ2ZPCE . You are receiving this because you commented.Message ID: @.***>
UPDATE: I see the bookmarklet or extension will work on some sites like https://support.safeasmilk.co/article/118-products-add-new-and-other-labels-to-your-products, but it will break on others like https://www.cnn.com/ (by break, I mean I see the progress bar, but then get the blank screen with this error in the console).
Uncaught TypeError: ((0 , _parseMedia2.default)(...) || []).forEach is not a function at linter.js:455:485
I can reproduce the error only for: https://www.boardgamedungeon.net/ (both with Bookmarklet and Extension in Chrome and Arc)
@mcrodriguez952 Maybe it is related to these W3C error regarding two empty srcset
on your logo:
https://validator.w3.org/nu/?doc=https://www.boardgamedungeon.net/
The described error in the console appears after redirecting to https://ausi.github.io/respimagelint/linter.html (maybe good to mention it)
The described error in the console appears after redirecting to https://ausi.github.io/respimagelint/linter.html (maybe good to mention it)
Does this mean a fix is coming soon?
I am also having this same issue on Firefox, using the bookmark (not the extension).
I think I'm getting the same problem, on firefox 114.0.1 (64-bit) it shows the loading bar and upon reaching completion everything goes white and nothing happens while the console reports always the same thing in all pages: Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
A little more information for Firefox, it gets to: https://ausi.github.io/respimagelint/linter.html where the browser console displays the error provided by @alan-barzilay
Une solution a été trouvée ? car j'ai le même problème que ce soit avec l'extension ou le signet alors que j'ai pu l'utiliser il y a encore quelques heures.
The issue in Firefox seems to be related to this warning: Partitioned cookie or storage access was provided to “https://ausi.github.io/respimagelint/store.html” because it is loaded in the third-party context and dynamic state partitioning is enabled.
I have to rework how the data gets transferred to the report page in https://github.com/ausi/respimagelint/blob/f2008cb3070171c16759038aeb43e7806aaef285/src/collector.js#L15
Should be fixed in 194f75598b0fc0e26bb3166a17a3e5ecbb25f30b Please try again
Fixed for me! Thanks!
Thanks, working again now in Chrome and Firefox.
I'm still experiencing this bug. Chromium and Firefox; bookmarlet and addon/extension. Only on some sites.
Should be fixed with 8d3f9891e38af906b0a10b0ca4f4f5044cebbf85