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

[email protected] 'vscode-uri' does not provide an export named 'default' #322

Open
2 tasks done
yejiajiehz opened this issue May 21, 2024 · 0 comments
Open
2 tasks done

Comments

@yejiajiehz
Copy link

yejiajiehz commented May 21, 2024

Describe the bug

import pkg from "vscode-uri";
       ^^^
SyntaxError: The requested module 'vscode-uri' does not provide an export named 'default'

image

Reproduction

update dependencies [email protected]

Expected behavior

import { URI } from 'vscode-uri'

microsoft/vscode-uri@53e4ca6

System Info

  System:
    OS: macOS 12.6
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 417.76 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.20.1 - ~/.n/bin/node
    npm: 8.19.4 - ~/.n/bin/npm
    pnpm: 8.5.0 - ~/.n/bin/pnpm
  Browsers:
    Chrome: 125.0.6422.60
    Safari: 16.0

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@yejiajiehz yejiajiehz changed the title 'vscode-uri' does not provide an export named 'default' [email protected] 'vscode-uri' does not provide an export named 'default' May 21, 2024
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

1 participant