vue3-element-admin icon indicating copy to clipboard operation
vue3-element-admin copied to clipboard

为啥我克隆代码运行访问这样的

Open bruse-peng opened this issue 1 year ago • 20 comments

image

bruse-peng avatar Nov 07 '24 09:11 bruse-peng

看看 npm install 之后控制台有报什么错?npm run 之后控制台有报什么错?  

中远 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:26 收件人: @.>; 抄送: @.***>; 主题: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4)

image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

midfar avatar Nov 07 '24 09:11 midfar

看看 npm install 之后控制台有报什么错?npm run 之后控制台有报什么错?   中远 @.***   ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:26 收件人: @.>; 抄送: @.>; 主题: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

image

bruse-peng avatar Nov 07 '24 09:11 bruse-peng

vite要求node版本18以上,你本地node版本是16.18.0  

中远 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:45 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4)

看看 npm install 之后控制台有报什么错?npm run 之后控制台有报什么错?   中远 @.***   … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:26 收件人: @.>; 抄送: @.>; 主题: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

midfar avatar Nov 07 '24 09:11 midfar

vite要求node版本18以上,你本地node版本是16.18.0   中远 @.***   ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:45 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) 看看 npm install 之后控制台有报什么错?npm run 之后控制台有报什么错?   中远 @.***   … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:26 收件人: @.>; 抄送: @.>; 主题: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

image 我升级到18还是有问题

bruse-peng avatar Nov 07 '24 09:11 bruse-peng

升级node后要删除 node_modules 目录,然后重新执行 npm install,再看看有没有报错 

中远 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:52 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4)

vite要求node版本18以上,你本地node版本是16.18.0   中远 @.***   … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:45 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) 看看 npm install 之后控制台有报什么错?npm run 之后控制台有报什么错?   中远 @.***   … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:26 收件人: @.>; 抄送: @.>; 主题: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> image.png (view on web) 我升级到18还是有问题 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

midfar avatar Nov 07 '24 09:11 midfar

升级node后要删除 node_modules 目录,然后重新执行 npm install,再看看有没有报错  中远 @.***   ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:52 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) vite要求node版本18以上,你本地node版本是16.18.0   中远 @.***   … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:45 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) 看看 npm install 之后控制台有报什么错?npm run 之后控制台有报什么错?   中远 @.***   … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月7日(星期四) 下午5:26 收件人: @.>; 抄送: @.>; 主题: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4) image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> image.png (view on web) 我升级到18还是有问题 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

image 删除了node_moulues 然后重新npm install 没有报错,但是页面显示异常

bruse-peng avatar Nov 07 '24 09:11 bruse-peng

我这边试了下node18执行npm install 也报错。得用node20及以上版本

midfar avatar Nov 07 '24 10:11 midfar

我这边试了下node18执行npm install 也报错。得用node20及以上版本

不行 image 我用20的版本都不行

bruse-peng avatar Nov 07 '24 10:11 bruse-peng

都用到最新的v22.11.0 都不行

bruse-peng avatar Nov 07 '24 10:11 bruse-peng

我这边windows环境,使用node版本 v20.18.0 没问题,运行样式显示都正常

midfar avatar Nov 07 '24 10:11 midfar

mac的不行

bruse-peng avatar Nov 07 '24 10:11 bruse-peng

npm install 和 npm run dev:test 都没有异常提示?那就用浏览器访问地址,看看浏览器控制台报什么错

midfar avatar Nov 07 '24 10:11 midfar

npm install 和 npm run dev:test 都没有异常提示?那就用浏览器访问地址,看看浏览器控制台报什么错

image

bruse-peng avatar Nov 07 '24 14:11 bruse-peng

根据这个错误提示,在网上找解决方案试试

midfar avatar Nov 08 '24 01:11 midfar

根据这个错误提示,在网上找解决方案试试

没找到,你们在mac上正常?

bruse-peng avatar Nov 08 '24 02:11 bruse-peng

这边没有mac环境  

中远 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月8日(星期五) 上午10:32 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4)

根据这个错误提示,在网上找解决方案试试

没找到,你们在mac上正常?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

midfar avatar Nov 08 '24 02:11 midfar

我clone https://gitee.com/youlaiorg/vue3-element-admin 这个就可以运行,这个你们能修复下吗?

bruse-peng avatar Nov 08 '24 02:11 bruse-peng

你修复后提个pr上来呗,应该就是缺少某个配置问题 

中远 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年11月8日(星期五) 上午10:57 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [midfar/vue3-element-admin] 为啥我克隆代码运行访问这样的 (Issue #4)

我clone https://gitee.com/youlaiorg/vue3-element-admin 这个就可以运行,这个你们能修复下吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

midfar avatar Nov 08 '24 03:11 midfar

If you update to element-plus 2.9.5 the problem is solved.

albertosantiago avatar Mar 03 '25 08:03 albertosantiago

If you update to element-plus 2.9.5 the problem is solved.

when i update to element-plus 2.9.5 the problem is solved,how do you know?

bruse-peng avatar Mar 27 '25 07:03 bruse-peng

已升级 element-plus

midfar avatar Aug 01 '25 08:08 midfar