Skip to content

update yarn.lock required: jupyterlab/coreutils => no exported member 'ResolvedRelativeTimeFormatOptions' #237

@jhgoebbert

Description

@jhgoebbert

Building the extension for JupyterLab 4.3.4 results for me in the error message

INFO:hatch_jupyter_builder.utils:> <..>/JupyterLab/4.3.4-GCCcore-13.3.0/bin/jlpm run build:prod
      node_modules/@jupyterlab/coreutils/lib/time.d.ts(5,28): error TS2724: 'Intl' has no exported member named 'ResolvedRelativeTimeFormatOptions'. Did you mean 'ResolvedDateTimeFormatOptions'?

with jupyterlab/coreutils/lib/time.d.ts == https://github.com/jupyterlab/jupyterlab/blob/main/packages/coreutils/src/time.ts#L20

This might be related to this commit from July 2024 which introduced ES2020 while it was ES2018 before:
https://github.com/jupyterlab/jupyterlab/pull/16288/files

( https://github.com/microsoft/TypeScript/blob/main/src/lib/es2020.intl.d.ts#L173 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions