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
When I ran into this problem the issue was that the version of pkg-config
on my path was the version supplied by chefdk instead of the homebrew installed version.
$ which pkg-config
/usr/local/bin/pkg-config
$ eval "$(chef shell-init bash)"
$ which pkg-config
/opt/chefdk/embedded/bin/pkg-config
The solution was to remove the eval "$(chef shell-init bash)"
entry from my bash profile.
More discussion of the issue in chefdk's path generation on Github https://github.com/chef/chef-dk/issues/313