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

EUNSUPPORTEDPROTOCOL #17327

Closed
7 tasks done
lien-dkseo opened this issue May 28, 2024 · 3 comments
Closed
7 tasks done

EUNSUPPORTEDPROTOCOL #17327

lien-dkseo opened this issue May 28, 2024 · 3 comments
Labels
bug: upstream Bug in a dependency of Vite

Comments

@lien-dkseo
Copy link

lien-dkseo commented May 28, 2024

Describe the bug

PS D:\dddd> npm create vite@latest

> npx
> create-vite

√ Project name: ... vite-project
√ Select a framework: » React
√ Select a variant: » TypeScript + SWC

Scaffolding project in D:\dddd\vite-project...

Done. Now run:

  cd vite-project
  npm install
  npm run dev

PS D:\dddd> cd .\vite-project\
PS D:\dddd\vite-project> npm i
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:^
npm error A complete log of this run can be found in: 

Reproduction

na

Steps to reproduce

npm create vite@latest

npx
create-vite

√ Project name: ... vite-project
√ Select a framework: » React
√ Select a variant: » TypeScript + SWC

npm i
npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:^
npm error A complete log of this run can be found in:

System Info

windows 11

node -v
v20.13.1

npm -v
10.8.0

Used Package Manager

npm

Logs

No response

Validations

@lien-dkseo
Copy link
Author

@ArnaudBarre ArnaudBarre added bug: upstream Bug in a dependency of Vite and removed pending triage labels May 28, 2024
@ArnaudBarre
Copy link
Member

This is an issue in SWC: swc-project/swc#8988

Let's keep this open until a new version is released to avoid other issue being open

@sapphi-red
Copy link
Member

I think we can close this now.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: upstream Bug in a dependency of Vite
Projects
None yet
Development

No branches or pull requests

3 participants