ErKeLost / create-vite-app

🍰🍰 VIte-CLI resolve Vite create starter template No need to configure vite scaffolding templates quickly build vite4.x development templates highly customized Vue3.x React 18 Vite5.x
https://vite-cli.netlify.app/
221 stars 32 forks source link

npx 执行后 报 Error: ENOENT: no such file or directory, scandir #49

Closed Yacj closed 1 year ago

Yacj commented 1 year ago

Steps to reproduce

QQ图片20230619131043 如图所示

What is expected?

可以正常生成项目

What is actually happening?

执行完 全部步骤后 报 Error: ENOENT: no such file or directory, scandir

System Info

windows11
node:v16.14.0
pnpm:8.6.2
npm:9.6.4

Any additional comments?

No response

ErKeLost commented 1 year ago

感谢你的使用 问题已经修复啦 跑最新版本就可以啦。v0.3.4

Yacj commented 1 year ago

感谢你的使用 问题已经修复啦 跑最新版本就可以啦。v0.3.4

QQ图片20230619150843 还是不行 指定了 版本 或者 @latest 版本还是 3.3 项目也没生成成功 是npm 缓存问题么

ErKeLost commented 1 year ago

应该是 npm 的问题 , 我又发了几个版本 可能要等一下 ( 我这最新的是 0.3.2 hah)

我试了清了缓存也不好使

你也可以先把项目 down 下来 安装 依赖之后 根目录执行 pnpm dev 也可以在本地使用

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 7 days with no activity.

Yacj commented 1 year ago

麻烦问下 现在使用 npx create-vite-template@latest 版本还是 v0.3.3 是怎么回事

ErKeLost commented 1 year ago

麻烦问下 现在使用 npx create-vite-template@latest 版本还是 v0.3.3 是怎么回事

你再试一下 现在可以用了

image

image