opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.71k stars 268 forks source link

🐛 [Bug]: tiny start report errors #332

Closed heise100 closed 1 year ago

heise100 commented 1 year ago

Version

@opentiny/vue@3.8.3

Vue Version

"^3.2.31"

Link to minimal reproduction

aa

Step to reproduce

1.tiny init pro 执行成功后, 执行tiny start,出现"Vite 不是内部命令" image

  1. 然后执行npm init vite@latest, 完成后继续执行"tiny start",出现"[error Resolve error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree"
  2. 继续尝试npm install @vue/compiler-sfc --save-dev, 没执行成功 image
  3. 继续执行"tiny start",出现下面提示 image

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

heise100 commented 1 year ago

估计是有的包没下载下来, 1.删除node_modules后,执行"npm install --registry=https://registry.npmmirror.com" , 用阿里镜像下载包 2.tiny start 运行成功 image