Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win本地打包后,在centos7上配置nginx后无法正常加载 #2108

Closed
zhouzyc opened this issue May 10, 2024 · 3 comments
Closed

win本地打包后,在centos7上配置nginx后无法正常加载 #2108

zhouzyc opened this issue May 10, 2024 · 3 comments

Comments

@zhouzyc
Copy link
Contributor

zhouzyc commented May 10, 2024

Version

2.3.4

OS Version

Node.js Version

Browser Version

Link to minimal reproduction

https://gitee.com/JS-VeryHappy/vh-admin.git

Steps to reproduce

image
image
image
win打包的,在本地 dumi preview 正常,打包文件放到服务器centos7.5 nginx 上就不行了

What is expected?

只能正常运行

What is actually happening?

无法加载

Any additional comments? (optional)

No response

@zhouzyc
Copy link
Contributor Author

zhouzyc commented May 10, 2024

dumi版本恢复到2.2.16 后没有出现meta_E 这个方式,是否是因为特殊字符串在centos环境不无被正确执行

@PeachScript
Copy link
Member

Duplicate of #1990

@PeachScript PeachScript marked this as a duplicate of #1990 May 13, 2024
@PeachScript PeachScript closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
@zy-xmz
Copy link

zy-xmz commented Oct 11, 2024

排查到此,记录下我也遇到了类似的问题:
问题:使用的[email protected]版本,docs:build 后,生成的文档部署到服务器上,“组件”导航页面加载报错。
原因:生成的docs-dist目录下,有一个meta_D的空文件,浏览器加载解析报错。
解决办法:升级dumi版本至最新版本(2.4.12),重新生成和部署。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants