Closed asbisen closed 1 year ago
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...
I tagged new versions for VegaLite.jl and Vega.jl, can you try with them? I think this should be fixed now, hopefully.
Correct I am using M1/M2 on Mac. And just tried the new update and it seems to have fixed the issue.
Great! And just for completeness: I’m using Node 18 now, but the x64 build on all Macs.
I have been encountering the following error on JupyterLab.
Encountering this on
1.8.4
and1.9.0
on Safari & FireFox (macOS). Below is the MWE that throws this errorJupyterLab is installed via pyenv (python version 3.11.3)