Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./util/has_lib.sh: line 31: pkg-config: command not found #76

Open
davidgatti opened this issue Aug 28, 2019 · 2 comments
Open

./util/has_lib.sh: line 31: pkg-config: command not found #76

davidgatti opened this issue Aug 28, 2019 · 2 comments

Comments

@davidgatti
Copy link

Hy, when I try to install the module under MacOS (latest version), I get the following error message.

./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/davidgatti/.nvm/versions/node/v10.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/davidgatti/.nvm/versions/node/v10.13.0/bin/node" "/Users/davidgatti/.nvm/versions/node/v10.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/davidgatti/Documents/GitHub/Retireryte/Rr-Lambda-Financial-Calculation/node_modules/chartjs-node/node_modules/canvas
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN [email protected] requires a peer of chart.js@<=2.7.* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.

And I do have Cairo installed under MacOS

@connorgillis
Copy link

Any luck?

@digifoxman
Copy link

Yes, did someone find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants