Skip to content
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: element.get is not a function (in require.js) #1036

Open
sarusso opened this issue Jan 16, 2023 · 0 comments
Open

TypeError: element.get is not a function (in require.js) #1036

sarusso opened this issue Jan 16, 2023 · 0 comments

Comments

@sarusso
Copy link

sarusso commented Jan 16, 2023

I am developing a Python library for time series data analysis and I embedded a custom plotting engine with HTML and Javascript, based on Dygraphs.

Last time I checked my demo and quicktart notebooks on nbviewer.org, the plots were correctly rendered, but now I see no plots at all and in the Javascript console I get this error message, one for each plot that was supposed to be generated:

TypeError: element.get is not a function               require.js:900
    at Quickstart.ipynb:18008:72
    at Object.execCb (require.js:1690:33)
    at Module.check (require.js:865:51)
    at Module.enable (require.js:1177:22)
    at Module.init (require.js:783:26)
    at require.js:1453:36

To Reproduce

  1. Go here
  2. Scroll down until cell number 4
  3. See that no plot is generated, open Javascript console to check the error.

Expected behavior
The plot should be correctly generated. Check this notebook, where I generated the plots in image format, to get an idea about what should appear (but as an interactive, Javascript-based plot).

Desktop:

  • OS: macOS Monterey
  • Browser: Chrome
  • Version: 108.0.5359.124 (Official Build) (arm64)

Additional context
I unfortunately did not note down the build version on nbviewer when it is working. Right now the nbviewer version is: 8b013f7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant