yarn 报错 文件名、目录名或卷标语法不正确
转载:yarn 报错 文件名、目录名或卷标语法不正确
如若侵权请联系私信删除谢谢
$ yarn create @vitejs/app my-vite --template vue
yarn create v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "@vitejs/create-app@1.5.1" with binaries:
- create-app
- cva
文件名、目录名或卷标语法不正确。
error Command failed.
Exit code: 1
Command: C:\Users\PC\AppData\Local\Yarn\bin\create-app
Arguments: my-vite --template vue
Directory: E:\study\Vite
Output:
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.