-
Notifications
You must be signed in to change notification settings - Fork 0
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
Running a cell doesn't do anything #3
Comments
One very easy way to reproduce this is by just using GitHub Codespaces.
And then opening the demo. |
I also tried https://github.com/datalayer/jupyter-ui/tree/main/examples/next-js and I get exactly the same outcome. And I can reproduce both on Firefox or Chrome. |
The only workaround I've found is pinning these dependencies backwards by 1 version each:
|
thx for reporting. raw-loader is needed indeed due to datalayer/jupyter-ui#213 - I will add it in this repo and in the example tomorrow. For the cell which does not run, I can not reproduce on my local env. It work with both the shift-enter in the cell, and via the left side menu. I clearly see in your video the message "Requesting cell execution with cell executor" - I have never seen that... I will have a deeper look tomorrow. |
@echarles when I first cloned this repo it worked for me as well. But then it stopped working. There’s something going on with dependency versions. I’d say the best surefire way to reproduce is by using GitHub Codespaces. You get a free fresh isolated environment there and it reproduces there. |
Just pushed 6ef50c2 to add raw-loader and change the server url as per datalayer/jupyter-ui#214 Tried also with codespace, but it uses yarn 1 which will not work, it needs yarn 3 (see https://jupyter-ui.datalayer.tech/docs/examples/next-js/ - this is a requirement from jupyterlab. npm has shown some success at some point, but we need to work more on that. Trying now with a codesandbox. |
@davidgomes I have created https://codesandbox.io/p/devbox/jupyter-react-nextjs-qzv8c - Build and run work fine with npm. The cell execution works on that codesanbox for me. |
Sorry, the correct link is https://codesandbox.io/p/devbox/jupyter-react-nextjs-qzv8cz |
Let's leave this open. It may be that you have a specific in your setup. Sticking to older versions in not good in the long term. Have you made changes to the code? Does you jupyter server/lab work fine? |
Sorry I won't be able to test again for a while. |
I was facing the same issue in 0.10.0 .It works after downgrading jupyter-react to 0.9.8 .Thanks @davidgomes @echarles |
Screen.Recording.2024-05-12.at.14.mp4
I have cloned the repo and ran
npm install
andnpm run dev
but once the demo launches, running cells doesn't actually work (as per the attached video). No errors are printed in the console.(I also had to run
npm install raw-loader
otherwise I get:)
The text was updated successfully, but these errors were encountered: