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

vscode@0.45.25 run error #1652

Closed
wkeylin opened this issue Sep 27, 2022 · 3 comments · Fixed by #1654
Closed

vscode@0.45.25 run error #1652

wkeylin opened this issue Sep 27, 2022 · 3 comments · Fixed by #1654
Labels

Comments

@wkeylin
Copy link
Contributor

wkeylin commented Sep 27, 2022

error message: Activating extension 'antfu.@unocss/vscode' failed: The "path" argument must be of type string or an instance of URL. Received undefined.

Platform: Mac

because of this pr #1645

@azaleta
Copy link
Contributor

azaleta commented Sep 27, 2022

@sudongyuer
seems this ref to vite has some problem?
image

@sudongyuer
Copy link
Member

error message: Activating extension 'antfu.@unocss/vscode' failed: The "path" argument must be of type string or an instance of URL. Received undefined.

Platform: Mac

because of this pr #1645

sorry, that's my bad , As a quick workaround you can revert the vscode extension to 0.45.21 make it works
image

@zyyv zyyv linked a pull request Sep 27, 2022 that will close this issue
@itpropro
Copy link
Contributor

I can confirm that no UnoCSS VSCode extension works since 0.45.21 on Windows 11 with current VSCode.
Since 0.45.23, the configs cannot be loaded anymore and since 0.45.24, it's not loading at all.
The only fix I found was to revert to 0.45.21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants