-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Can't install cairo using wget on MacOSX - can't install canvas #603
Comments
The problem is that you are using iojs with a version of npm that is for Node.js. I'm not sure how to resolve it but I would search the npm repos issues for a solution, or post a bug there. I'm closing this since you problem is not something that we can do anything about, and it's not specific to this package. |
I was only installing this in order to get "Node canvas is a Cairo backed Canvas implementation for NodeJS." Why would it be a problem that I: "iojs with a version of npm that is for Node.js" since node-canvas is obviously canvas for node!? Lost in translation... |
You are using iojs, but your build tool is configured for Node.js. The build tool tries to get the source for your version of iojs by fetching Here is an issue discussing this: nodejs/node#433 |
This could probably fix your error: https://github.com/mafintosh/node-gyp-install |
Ah, this is sooo awesome!!! I've had loads of problems related to iojs and the errors mentioning node-gyp. This finally sheds some light... Thanks :) |
No problem, happy hacking 👍 |
At the end of the cairo
wget
install, I get:Also tried
brew install cairo
with the same end result as shown belowI've also tried
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig npm install canvas
as mentioned in #528. Any suggestions? Thanks :)
Even calling
npm install LinusU/node-canvas#pangocairo-test
fails with the same error. Is it a basic network/http error?! :OThe text was updated successfully, but these errors were encountered: