vite icon indicating copy to clipboard operation
vite copied to clipboard

EUNSUPPORTEDPROTOCOL

Open lien-dkseo opened this issue 9 months ago • 2 comments

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 avatar May 28 '24 08:05 lien-dkseo