tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

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

Open jxl-hash opened this issue 1 year ago • 7 comments

Version

[email protected]

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

jxl-hash avatar Jul 06 '24 05:07 jxl-hash

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

Issues-translate-bot avatar Jul 06 '24 05:07 Issues-translate-bot

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

kagol avatar Jul 08 '24 10:07 kagol

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

Issues-translate-bot avatar Jul 08 '24 10:07 Issues-translate-bot

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

jxl-hash avatar Jul 08 '24 12:07 jxl-hash

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

Issues-translate-bot avatar Jul 08 '24 12:07 Issues-translate-bot

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

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

woshiyiweidasheng avatar Jul 21 '24 11:07 woshiyiweidasheng

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

Issues-translate-bot avatar Jul 21 '24 11:07 Issues-translate-bot

最新的dev分支还是会出现这个问题嘛?

zzcr avatar Dec 28 '24 01:12 zzcr

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


Does the latest dev branch still have this problem?

Issues-translate-bot avatar Dec 28 '24 01:12 Issues-translate-bot