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

Syntax highlight not working with jupyterlab 4.1.6 #1488

Open
ayanamists opened this issue Apr 26, 2024 · 4 comments
Open

Syntax highlight not working with jupyterlab 4.1.6 #1488

ayanamists opened this issue Apr 26, 2024 · 4 comments

Comments

@ayanamists
Copy link

ayanamists commented Apr 26, 2024

#1228 reported that syntax highlight does now work as expected. This problem should be fixed now.

However, I encounter such problem after setup (I followed the instruction). The kernel itself seems work fine, but no syntax highlight found.

截屏2024-04-26 10 29 57

I guess this problem relates to the error thrown in browser:

Plugin 'ihaskell' failed to activate.
image

The problem here is the requires property of t is [undefined], which lead to an exception in this.resolveRequiredService(e). This property seems to be defined here

I have no idea why IEditorLanguageRegistry is undefined.

截屏2024-04-26 10 45 47

My jupyter version:

❯ jupyter --version
Selected Jupyter core packages...
IPython          : 8.23.0
ipykernel        : 6.29.4
ipywidgets       : not installed
jupyter_client   : 8.6.1
jupyter_core     : 5.7.2
jupyter_server   : 2.14.0
jupyterlab       : 4.1.6
nbclient         : 0.10.0
nbconvert        : 7.16.3
nbformat         : 5.10.4
notebook         : 7.1.3
qtconsole        : not installed
traitlets        : 5.14.3
@vaibhavsagar
Copy link
Member

How did you install the ihaskell-jupyterlab extension? Can you confirm that it was installed by ihaskell during the installation process, or did you install it separately?

@ayanamists
Copy link
Author

How did you install the ihaskell-jupyterlab extension? Can you confirm that it was installed by ihaskell during the installation process, or did you install it separately?

It was installed by ihaskell install --stack, I do not install it separately. May I build a docker image to reproduce this problem?

@vaibhavsagar
Copy link
Member

Sure, if you send me a link to a Docker image I can download and poke around locally.

@vaibhavsagar
Copy link
Member

Were you able to reproduce the issue in a Docker image?

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

No branches or pull requests

2 participants