Skip to content

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

@boustrephon

Description

@boustrephon

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions