Skip to content

Cannot load settings from extension in JupyterLite (Unexpected end of input) #1644

@arjxn-py

Description

@arjxn-py

Description

I’m trying to load extension settings in JupyterLite using settingRegistry.load('@jupytergis/jupytergis-core:jupytergis-settings').
It works fine in JupyterLab, but in JupyterLite I get this error:

Failed to load settings for @jupytergis/jupytergis-core:jupytergis-settings
SyntaxError: Unexpected end of input
Image

Reproduce

  1. Configured custom settings for my jupyterlab-extension in Introduce Custom Settings for JupyterGIS geojupyter/jupytergis#619
  2. Go to jupyterlite deployment

Expected behavior

The settings should load and be available like they are in JupyterLab.

Context

  • JupyterLite version: 0.5.1
  • Operating System and version: MacOS 14.6.1
  • Browser and version: Google Chrome 135.0.7049.41
Browser Output
446.f8696ce72124c782…96ce72124c78273da:1 Unexpected end of input
(anonymous)	@	446.f8696ce72124c782…96ce72124c78273da:1
Promise.catch		
activate	@	446.f8696ce72124c782…96ce72124c78273da:1
Promise.then		
j	@	index.js:658
await in j		
(anonymous)	@	bootstrap.js:91
await in (anonymous)		
54931	@	bootstrap.js:65
w	@	bootstrap:19
(anonymous)	@	startup:4
w.O	@	chunk loaded:23
(anonymous)	@	startup:5
(anonymous)	@	bundle.js?_=d427854:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions