-
Notifications
You must be signed in to change notification settings - Fork 8
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
TypeError when running the example #26
Comments
same problem - seems to occur when you add the chart to the container |
This worked before. Seems to be broken recently somewhere. |
@Larsschoen @billylo1 @rebeccapeltz Seeing the same issue as well. I was hoping to ask if there is a known workaround to this? |
I gave up after trying different combinations of node, jsdom and anychart. (problem does not seem to be related to the anychart-nodejs add-on). I switched to use quickchart.io |
Not sure if this helps, but for me the issue was being caused due to a missing dependency. I was using JSDOM to render the window which was being used by anychart. The jsdom was missing in my installed packages. Once I added that dependency the typeError subsided. |
I did install the jsdom package. |
After installation and copying the example code (from the Quick start example), I get the following error when running:
TypeError: Cannot read properties of undefined (reading 'insertBefore')
thrown inside/node_modules/anychart/dist/js/anychart-bundle.min.js:84:440
Node: 16.15.1
anychart-nodejs: 1.3.8
OS: MacOS Big Sur 11.6.8
The text was updated successfully, but these errors were encountered: