csscritic icon indicating copy to clipboard operation
csscritic copied to clipboard

Installation occuring with gyp errors

Open gurjit03 opened this issue 8 years ago • 2 comments

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

gurjit03 avatar Mar 30 '17 18:03 gurjit03

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.

cburgmer avatar Mar 30 '17 20:03 cburgmer

Hey @cburgmer, thanks for clarifying things.

gurjit03 avatar Mar 31 '17 03:03 gurjit03