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

jupyter is missing react component #40

Closed
chrisjsewell opened this issue Jul 4, 2020 · 0 comments · Fixed by #41
Closed

jupyter is missing react component #40

chrisjsewell opened this issue Jul 4, 2020 · 0 comments · Fixed by #41

Comments

@chrisjsewell
Copy link
Member

Copied from aiidateam/aiida-tutorials#241

It seems the jupyter notebook version we are using is missing some react component, leading to errors like

404 GET /static/components/react/react-dom.production.min.js (127.0.0.1) 1.40ms referer=http://localhost:8888/tree?token=487bb33a0f44488ae91e98424ab6aa7d6c4dfcbdbbe95254

when using the jupyter file browser.

The solution seems to be:

wget https://unpkg.com/react-dom@16/umd/react-dom.production.min.js
cp react-dom.production.min.js /home/max/.virtualenvs/aiida/lib/python3.6/site-packages/notebook/static/components/react/

(worked for me on the VM).

See jupyter/notebook#4772 for more info

@chrisjsewell chrisjsewell transferred this issue from marvel-nccr/quantum-mobile Jul 4, 2020
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

Successfully merging a pull request may close this issue.

1 participant