creevey
creevey copied to clipboard
"unrecognised content at end of stream" for Mac/Windows team
The screenshots made under Unix (Mac) don't work on Windows. Every single story gave this error
[START:chrome.desktop:4468] Utilities/Typography/Link
[FAIL:chrome.desktop:4468] Utilities/Typography/Link
Error: unrecognised content at end of stream
at module.exports.SyncReader.process (node_modules\pngjs\lib\sync-reader.js:43:11)
at module.exports (node_modules\pngjs\lib\parser-sync.js:68:10)
at Object.exports.read (node_modules\pngjs\lib\png-sync.js:7:10)
at compareImages (node_modules\creevey\lib\server\worker\chai-image.js:48:39)
at assertImage (node_modules\creevey\lib\server\worker\chai-image.js:99:11)
at Proxy.matchImage (node_modules\creevey\lib\server\worker\chai-image.js:107:28)
at Context.storyTest (node_modules\creevey\lib\server\stories.js:43:5)
Perhaps it is related to https://github.com/lukeapage/pngjs/issues/235 ?
We use
node v14.15.4 npm 6.14.4 creevey 0.7.28
Having the same problem.
I strongly believe Git LFS has something to do with this, as @varya pointed out, because when I have PNGs that have not been interacted with Git LFS the error disappears.
Yes, I got the same with an Azure Pipelines build when we used Git LFS in our repo. Removing Git LFS resolved the problem.
I have this issue without git LFS being installed on our repo. Anyone have a workaround?
I have this issue without git LFS being installed on our repo.