I have been using a fabricjs package (lamatyus:fabric) from atmosphere, which uses an older version of fabric.js.
I have removed this from my project and tried to install fabric with meteor npm install --save fabric this fails with error
node-gyp rebuild ./util/has_lib.sh: line 31: pkg-config: command not found gyp: Call to './util/has_lib.sh freetype' returned exit status 0 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/Users/annie/.meteor/packages/meteor-tool/.184.108.40.206umtl.ycp7++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/node-gyp/lib/configure.js:336:16) gyp ERR! stack at emitTwo (events.js:125:13) gyp ERR! stack at ChildProcess.emit (events.js:213:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 17.4.0 + email@example.com added 88 packages in 10.952s
on macOS latest.
Any ideas please ? atmosphere was great because it just works, npm seems a bit more voodoo…