cburgmer / csscritic

Lightweight CSS regression testing
http://cburgmer.github.io/csscritic
486 stars 19 forks source link

Installation occuring with gyp errors #81

Open gurjit03 opened 7 years ago

gurjit03 commented 7 years ago

I am trying to install the csscritic and installation is being done with gyp errors. Don't know how to proceed further. I have attached my output in a file. I am on ubuntu 16.04.

critic installation.txt

cburgmer commented 7 years ago

Hi, thanks for the report. Sadly this is a known issue. Luckily however one that can be ignored for now. Your installation of csscritic should still be complete!

Background: csscritic depends on imagediff, which in turn depends on canvas as an optional dependency when installed on node. As csscritic runs in the browser this dependency is not required, but sadly cannot be ignored in a clean way when installing. I raised this a few years back with the npm folks and was told this works as designed.

gurjit03 commented 7 years ago

Hey @cburgmer, thanks for clarifying things.