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

Javascript Error: Can't find variable: require #4

Open
boustrephon opened this issue Oct 7, 2019 · 0 comments
Open

Javascript Error: Can't find variable: require #4

boustrephon opened this issue Oct 7, 2019 · 0 comments

Comments

@boustrephon
Copy link

boustrephon commented Oct 7, 2019

I have just downloaded this extension using GitHub desktop and have installed it on my MacBook running Mojave 10.14.6 in a Python 3.7 Anaconda environment (using pip). I started up Jupyter Lab and ran the magic (no problem). However, when I tried to render something as in your example, I got an error - Javascript Error: Can't find variable: require. I have done a quick search online and found something that said:

pure javascript (in browser) does not support "require" - the easiest way it is include "firebase" module like other js scripts: <script src="yoursite.com/node_modules/firebase/firebase.js" />
https://stackoverflow.com/questions/40087467/referenceerror-cant-find-variable-require

Any idea what I should do?

UPDATE: Error seems associated with opening it in Jupyter Lab. There is no error in classic Jupyter (but no image yet... working on that).

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