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.58k stars 254 forks source link

🐛 [Bug]: pnpm dev时报错找不到模块 #1722

Open jxl-hash opened 3 months ago

jxl-hash commented 3 months ago

Version

opentiny-vue@3.14.0

Vue Version

@vue/cli 5.0.8

Link to minimal reproduction

image image

Step to reproduce

从github上拉取dev分支代码进行pnpm i拉取依赖,使用pnpm dev运行出现以上错误,我试图删除node_modeules重新安装还是出现以上错误

What is expected

No response

What is actually happening

No response

What is your project name

TinyVue

Any additional comments (optional)

No response

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: pnpm dev reports an error that the module cannot be found

kagol commented 3 months ago

@jxl-hash 尝试执行命令 pnpm -F internal-cli i -D vite-plugin-solid

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically.


@jxl-hash Try to execute the command pnpm -F internal-cli i -D vite-plugin-solid

jxl-hash commented 3 months ago

运行了这个指令但仍然还是报错。是否在当前项目下进行pnpm dev,我在当前项目下pnpm i,然后执行你说的命令,但是仍然无法启动项目,会报这个错误 image

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically.


I ran this command but still got an error. Do you want to perform pnpm dev under the current project? I pnpm i under the current project, and then execute the command you mentioned, but the project still cannot be started, and this error will be reported. image

woshiyiweidasheng commented 2 months ago

运行了这个指令但仍然还是报错。是否在当前项目下进行pnpm dev,我在当前项目下pnpm i,然后执行你说的命令,但是仍然无法启动项目,会报这个错误 image

检查下pnpm版本是不是对上了

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically.


I ran this command but still got an error. Do you want to perform pnpm dev under the current project? I pnpm i under the current project, and then execute the command you mentioned, but the project still cannot be started, and this error will be reported! [image](https://private-user-images.githubusercontent .com/69560811/346561325-ed13d228-89de-495f-9e4a-4b31b20eee5f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..UNzDH3BnkThlbAhqEOJ5S6KhuD2ynpl1F9lU oZUGOxg)

Check if the pnpm version is correct