yarn 报错 文件名、目录名或卷标语法不正确

这篇博客讲述了在使用yarn create命令创建Vite应用时遇到的错误,焦点在于文件名或路径不符合规定,同时提到了fsevents模块的不兼容情况。开发者可以参考解决文件路径问题和理解为何fsevents在Windows上的限制。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值