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

article-theme cannot handle lite: true #400

Open
stevejpurves opened this issue Jun 11, 2024 · 0 comments
Open

article-theme cannot handle lite: true #400

stevejpurves opened this issue Jun 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@stevejpurves
Copy link
Contributor

Describe the bug

context
When attempt to use article-theme with computational content that uses

project:
   jupyter:
       lite: true

expectation
We should be able to use this option in the same way as book-theme does.

bug
But instead we get a fatal error

Application Error
TypeError: Failed to construct 'URL': Invalid URL
    at http://localhost:3000/myst_assets_folder/_shared/chunk-6MJEHIZG.js:68048:19
    at LaunchBinder (http://localhost:3000/myst_assets_folder/_shared/chunk-6MJEHIZG.js:68083:27)
    at renderWithHooks (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:14053:26)
    at updateFunctionComponent (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:16459:28)
    at beginWork (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:17794:22)
    at beginWork$1 (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:21631:22)
    at performUnitOfWork (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:21076:20)
    at workLoopSync (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:21015:13)
    at renderRootSync (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:20994:15)
    at recoverFromConcurrentError (http://localhost:3000/myst_assets_folder/_shared/chunk-SMG2HPMX.js:20614:28

Reproduce the bug

  1. set your site template to be article-theme
  2. set the jupyter: lite: true option

List your environment

No response

@stevejpurves stevejpurves added the bug Something isn't working label Jun 11, 2024
@stevejpurves stevejpurves changed the title article-theme cannot handle article-theme cannot handle lite: true Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant