Package cairo was not found in the pkg-config search path. Node j.s install canvas issue

后端 未结 9 749
逝去的感伤
逝去的感伤 2020-12-01 05:46

I am having a problem installing installing the canvas module in node..It seems to be something with cairo I am getting this error...

npm http GET https://re         


        
9条回答
  •  时光取名叫无心
    2020-12-01 06:43

    Had the same problem on OS X 10.11.2 while installing qrcode package.

    Solved by installing these ones:

    brew install cairo
    brew install pkg-config
    xcode-select --install
    

提交回复
热议问题