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

BUG: Error when Running JupyterCAD through jupyter cad Command #399

Closed
arjxn-py opened this issue Sep 5, 2024 · 3 comments · Fixed by #402
Closed

BUG: Error when Running JupyterCAD through jupyter cad Command #399

arjxn-py opened this issue Sep 5, 2024 · 3 comments · Fixed by #402

Comments

@arjxn-py
Copy link
Member

arjxn-py commented Sep 5, 2024

When running JupyterCAD through the jupyter cad command in the terminal, the following errors are encountered in the browser logs, and the JupyterCAD editor fails to open:

Error: Shared module @jupyterlab/codeeditor doesn't exist in shared scope default
Error: Shared module @jupyterlab/completer doesn't exist in shared scope default

However, this issue does not occur when JupyterCAD is accessed through the jupyter lab command. In that case, the editor opens successfully without any errors.

@martinRenou
Copy link
Member

This may just be about adding @jupyterlab/codeeditor and @jupyterlab/completer as dependencies for https://github.com/jupytercad/JupyterCAD/blob/main/python/jupytercad_app/package.json

@trungleduc
Copy link
Member

and also here https://github.com/jupytercad/JupyterCAD/blob/main/python/jupytercad_app/src/sharedscope.ts

@arjxn-py
Copy link
Member Author

arjxn-py commented Sep 6, 2024

Thanks both!
I'll be on it later today.

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.

3 participants