Giter Club home page Giter Club logo

Comments (4)

davidanthoff avatar davidanthoff commented on June 9, 2024 1

I tagged new versions for VegaLite.jl and Vega.jl, can you try with them? I think this should be fixed now, hopefully.

from vegalite.jl.

asbisen avatar asbisen commented on June 9, 2024 1

Correct I am using M1/M2 on Mac. And just tried the new update and it seems to have fixed the issue.

from vegalite.jl.

davidanthoff avatar davidanthoff commented on June 9, 2024

Are you on an Mac M1/2 system?

If so, I think I know what is actually happening: previously I used Node 12, and on M Macs it used the x86 version of it. Now I updated to Node 18, where it is using the M1/2 build of Node. One thing we need for all of this to work is the node-canvas package, which has binary dependencies. As it turns out, they don't provide prebuilt binaries for Mac M systems yet... So right now we are not shipping a working version of node-canvas for M Macs, and so all the PNG and PDF exports can't work.

For now I'm trying to fix this by reverting back to Node 12. Medium term plan is to try to get node-canvas to ship prebuilt binaries for the new Macs. I think primarily we need to find some M1 machine that can be added as a GitHub runner, until GitHub provides hosted M1 runners...

from vegalite.jl.

davidanthoff avatar davidanthoff commented on June 9, 2024

Great! And just for completeness: Iā€™m using Node 18 now, but the x64 build on all Macs.

from vegalite.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.