I am struggling to get one of the ipywidget examples (web3) working and would be very grateful for some help. I’d like to get a minimal example running which involves displaying widgets in a webpage and communicating with a notebook server.
MacOS v12.6.1 (Apple M1)
Google Chrome Version 107.0.5304.87 (Official Build) (arm64)
Firefox 106.0.3 (64-bit)
- create and activate a new conda environment
- clone ipywidgets
- follow the setup instructions for the example “web3” ipywidgets/examples/web3 at master · jupyter-widgets/ipywidgets · GitHub
- try opening the webpage in both firefox and chrome
Additionally, I have tried
git checkout tags/8.0.2 immediately after cloning the repo without effect.
Some visual indication of success in the webpage.
Only a blank webpage appears.
In the Firefox developer console, this error is reported:
Uncaught (in promise) ReferenceError: process is not defined makeSettings serverconnection.js:156 makeSettings serverconnection.js:53 <anonymous> index.js:15 EventListener.handleEvent* index.js:13 <anonymous> index.built.js:244441 <anonymous> index.built.js:244443 serverconnection.js:156 <anonymous> index.js:38 (Async: EventListener.handleEvent) <anonymous> index.js:13
Please let me know if there is any other info I should add. Many thanks for any help.