-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Compilation warning when running yarn install #16110
Comments
You can avoid this compilation error and suppress the warning by running either:
or
|
Upstream issue: vega/vega#1073 |
Have we got a feel for if this will be prioritized? Doesn’t look like a big community (2 people with more than 3 commits the last 6 months, from what I can see). Would it be easy for us to contribute the necessary changes? I don’t know if you found out why stuff failed for @chrisronline yesterday, but if that error happens with others we need to consider doing something asap (Telling people to run |
@kjbekkelund yes, I think the real solution is indeed a fix from Vega. I can't speak to timing on their end. The message is spam, just like the react-warnings, only longer. An interim solution is that we host our own pre-built vega without the canvas package, similar to how we host some other 3rd party libraries (e.g. numeral, ...) in a mirror. This would avoid the spam, and we can replace the dependency once Vega fixes the problem. |
Hm, weird, I'm seeing it every time:
|
Good point re the React warnings, I opened #16127 to fix it. |
@kjbekkelund I guess you're right about the messages. Discard what I said earlier. |
++ I like the self-hosted solution, if it's not easy to get a fix in upstream. |
Vega's @jheer said he will try to work on it next week, so it might make sense to wait a bit on this one. I tried a "brute force" approach of copying the compiled (pre-ES6) Vega lib into its own npm package, but that didn't work too well with the webpack - it failed because |
I fixed this issue in #16137 (hack), but hopefully there will be a better alternative upstream |
my suggestion would be to see what Vega is doing. If they are fixing this soon (ie. early next week), we just bump dependency. If not, we use the #16137 work-around. |
++ agreed Thanks for the quick turnaround on this, btw. :elasticheart: |
Hmm, for some reason the |
This has now been fixed (but not merged) with #16137 - it uses a new |
The canvas package is an optional-dependency of the
vega-scenegraph
package, which in turn is a dependency ofvega
, which Kibana relies on.This message is basically spam. It has no impact on either the user or developer.
This is an upstream issue with
vega
.The text was updated successfully, but these errors were encountered: