-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Missing “react-dom.production.min.js” file #4771
Comments
Thanks for the report, fixed by #4772. |
is there a work around for this until 6.0.1 is released? |
I encountered the same issue. Anyone know a work around? |
workaround: #4772 (comment) |
This dependency was omitted when react was added, so it is not installed. Closes #4771
|
After attempting the workaround, I'm having the same problem as sunsan05 above. What I really cannot understand is how the hell this happened to my machine without me upgrading Jupyter. Ten minutes ago Jupyter was working fine and has been all morning, now it is broken, and I cannot get work done. Is Jupyter auto-upgrading my notebook server without asking me? |
@sunsan05 I think the problem is a mismatch between the linked react-dom.production.min.js and the react.production.min.js. The first is v16.9 while the one already in Jupyter is v16.0 I found a version of react-dom.production in v16.0 here: https://gist.github.com/aweary/92db2b795b85fe29d096aca2c57cd3ec#file-react-dom-production-js It is not minified. So when you copy it to the directory you'll have to change the name to react-dom.production.min.js or minify it yourself. I'm now back up and running, but I would like to know from a dev who understands the internals of jupyter how I wasn't having this problem twenty minutes ago (and have been using Jupyter all morning with the ipywidgets I developed) and suddenly this problem crops up without me updating anything on the jupyter end. |
I'm getting the same issue.
I'm running Jupyter on a server at |
Could you please try to update to Release 6.0.1 and let us know if you can still reproduce the issue. |
Using this command "import site; print(site.getsitepackages())", you can find where the "site-package" folder is (site-packages\notebook\static\components\react). Then you know where to save the file "react-dom.production.min.js". |
I was using a fresh installation of Jupyter Notebook 6.0.0. After opening the web page, the console shows the following error message:
List of installed Python packages:
The text was updated successfully, but these errors were encountered: