xwj-vic / yapi

Apache License 2.0
76 stars 17 forks source link

启动报错,似乎是插件问题 #7

Closed 2513483494 closed 1 year ago

2513483494 commented 1 year ago

版本号

~

什么问题

~

截屏2023-06-09 09 57 23

如何复现此问题

~ 安装好依赖运行npm run dev try { pluginModuleList = require('./plugin-module.js'); } catch (err) { console.log('err', err); pluginModuleList = {}; } 错误是这块代码产生的plugin.js

什么浏览器

~ 谷歌

什么系统(Linux, Windows, macOS)

macOS

xwj-vic commented 1 year ago

有按教程正确安装本地环境吗?我本地重现不了,没有报错

image
2513483494 commented 1 year ago

这时候是没有错误的,需要进入项目页面点击swagger导入这个页面就会报错了.

------------------ 原始邮件 ------------------ 发件人: XWJ @.> 发送时间: 2023年6月9日 22:38 收件人: xwj-vic/yapi @.> 抄送: 2513483494 @.>, Author @.> 主题: Re: [xwj-vic/yapi] 启动报错,似乎是插件问题 (Issue #7)

有按教程正确安装本地环境吗?我本地重现不了,没有报错

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

xwj-vic commented 1 year ago

按你所说, 项目 -> 数据管理 -> 数据导入 , 导入swagger json 也没报错

2513483494 commented 1 year ago

奇怪了,我就是在这个页面报错,其他页面都没问题,这样的话我后面再看看是否有其他问题吧.

------------------ 原始邮件 ------------------ 发件人: XWJ @.> 发送时间: 2023年6月9日 22:43 收件人: xwj-vic/yapi @.> 抄送: 2513483494 @.>, Author @.> 主题: Re: [xwj-vic/yapi] 启动报错,似乎是插件问题 (Issue #7)

按你所说, 项目 -> 数据管理 -> 数据导入 , 导入swagger json 也没报错

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

xwj-vic commented 1 year ago

好的,有兴趣的话,欢迎提代码共同维护

2513483494 commented 1 year ago

好的 感谢回复

------------------ 原始邮件 ------------------ 发件人: XWJ @.> 发送时间: 2023年6月9日 22:50 收件人: xwj-vic/yapi @.> 抄送: 2513483494 @.>, Author @.> 主题: Re: [xwj-vic/yapi] 启动报错,似乎是插件问题 (Issue #7)

好的,有兴趣的话,欢迎提代码共同维护

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