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

Can we simplify the process of getting node-canvas installed? #29

Open
hampelm opened this issue Jan 28, 2013 · 2 comments
Open

Can we simplify the process of getting node-canvas installed? #29

hampelm opened this issue Jan 28, 2013 · 2 comments

Comments

@hampelm
Copy link

hampelm commented Jan 28, 2013

Is there a way we can simplify the process of getting Canvas installed?

Even after a successful npm install, running the example server in nodetiles-init fails:

$ node server.example.js 

/Users/matth/projects/ld/misc/nt/node_modules/nodetiles-core/node_modules/canvas/lib/bindings.js:9
  throw e;
        ^
Error: Cannot find module '../build/default/canvas'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/Users/matth/projects/ld/misc/nt/node_modules/nodetiles-core/node_modules/canvas/lib/bindings.js:7:20)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
@Mr0grog
Copy link
Member

Mr0grog commented Jan 28, 2013

Hmmmmm. I have not seen that before. Getting Canvas/Cairo up and running on OSX is frequently painful and always seems to involve different odd things on everybody's machine.

@hampelm
Copy link
Author

hampelm commented Jan 29, 2013

Specifying canvas 0.13.x resolves this locally. Haven't tested on Heroku yet

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

2 participants