-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Missing fonts in chart.js in the layer for Node 20 #27
Comments
Hi @SOVALINUX, Thanks for reporting this issue. Would you mind to share sample code and let me take some time to investigate? Thank you. |
I am running into the exact same issue. I am also unable to load any other font file - I am getting |
Thanks, this workaround is working. FYI, it is just a workaround. Cloudwatch still log this error. |
Hi
First of all thank you for maintaining this repo and publishing as an AWS layer!
Sorry for a bit incomplete description, but decided to raise an issue rather than keep silence :)
Context / Environment:
chartjs-node-canvas
4.1.6 andchart.js
3.9.1Issue:
After upgrade from Node.JS 18 to 20 using new Layer version fonts stopped to display properly (image below is shown)
What I see from the logs (no stacktrace unfortunately):
Fontconfig error: Cannot load default config file
Unfortunately I don't fully understand how/where to look deeper and is it a issue of this package or some misconfiguration on my end
The text was updated successfully, but these errors were encountered: