question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vega-util and vega-embed

See original GitHub issue

This is one of those… “it worked last week” situations. I’m getting an error on rendering now that I haven’t seen in a while when trying to render the chart in jupyter notebook:

Error loading script: Script error for "vega-util", needed by: vega-embed http://requirejs.org/docs/errors.html#scripterror

This console is reporting: “Failed to load resource: the server responded with a status of 404 (Not Found)” for vega-util.js

I’m perplexed… this is off a conda environment that worked before and a fresh conda environment I installed this morning. Notebook version 6.1.3, altair version 4.1.0.

I think the relevant node packages installed (globally) are:

+ vega-util@1.15.1
+ vega-themes@2.9.0
+ vega@5.15.0
+ canvas@2.6.1
+ vega-cli@5.15.0
+ vega-lite@4.15.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:24 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
jakevdpcommented, Sep 8, 2020

The default renderer will load vega-embed@6 from CDN; no need to change anything locally, except perhaps clearing your browser cache.

If you’re using the JupyterLab renderer, it embeds the vega-embed version in the labextension.

0reactions
hathawayjcommented, Sep 9, 2020

I think I broke so many things trying to fix this issue that I am not sure what was wrong. It is working today. Not sure if it was related but I did have to fix my SSL connections. Thanks for your help.

https://stackoverflow.com/questions/50236117/scraping-ssl-certificate-verify-failed-error-for-http-en-wikipedia-org

Read more comments on GitHub >

github_iconTop Results From Across the Web

Embedding Vega-Lite
The easiest way to use Vega-Lite on your own web page is with Vega-Embed, a library we built to make the process as...
Read more >
Unable to embed vega-lite visualization in react - Stack Overflow
Error: Unrecognized data set: table at error (https://d78mhq.csb.app/node_modules/vega-util/build/vega-util.module.js:517:9) at dataref ...
Read more >
JavaScript util Examples, vega.util JavaScript Examples ...
These are the top rated real world JavaScript examples of vega.util extracted from open source ... File: embed.js Project: agile-innovations/vega-embed.
Read more >
vega-embed v6.21.0 Bundlephobia
Size of vega-embed v6.21.0 is 74.1 kB (minified), and 24.2 kB when compressed using GZIP. Bundlephobia helps you find ... vega-embed. @6.21.0 ......
Read more >
How to use the vega-util.isString function in vega-util | Snyk
To help you get started, we've selected a few vega-util.isString examples, based on popular ways it is used in public projects.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found