diff --git a/README.md b/README.md index a27a4ae..607f649 100644 --- a/README.md +++ b/README.md @@ -253,3 +253,25 @@ The result of this work is the present plugin called **cypress-visual-regression | cypress-image-diff | 30.1% | :x: | :white_check_mark: | :white_check_mark:| :white_check_mark:| | | micoocypress | 8.8518% | :white_check_mark: | :x: | :x: | :white_check_mark:| Requires Docker | | cypress-visual-regression-diff | 14.7% |:white_check_mark: | ✅| ✅| :white_check_mark:| Requires a manual installation of "sharp" library on Linux | + +## Troubleshooting +1. Error when installing the plugin: `ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.0/canvas-v2.9.0-node-v108-darwin-unknown-arm64.tar.gz ` + +This is a [known issue](https://github.com/Automattic/node-canvas/issues/2306) on the Canvas dependency. In this case you need to install and update some subdependencies from Canvas with: + +Mac Os +``` +brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman +``` + +Windows using MSYS2 +``` +pacman -S pkg-config +pacman -S mingw-w64-x86_64-cairo +pacman -S mingw-w64-x86_64-pango +pacman -S mingw-w64-x86_64-libpng +pacman -S mingw-w64-x86_64-libjpeg-turbo +pacman -S mingw-w64-x86_64-giflib +pacman -S mingw-w64-x86_64-librsvg +pacman -S mingw-w64-x86_64-pixman +``` \ No newline at end of file