qier222 / YesPlayMusic

高颜值的第三方网易云播放器,支持 Windows / macOS / Linux :electron:
https://music.qier222.com
MIT License
29.65k stars 4.37k forks source link

[BUG] [FIXED] 0.4.8 blank screen #2190

Closed rainbowflesh closed 8 months ago

rainbowflesh commented 8 months ago

QQ截图20240305023642

resetApp(), 重装, 重启计算机都不起作用, 0.4.7 没有问题.


临时修复的 build: https://github.com/rainbowflesh/YesPlayMusic/actions/runs/8154969830 在最下面 "Artifacts Produced during runtime" 栏里下载对应的 build.


debug 了一下, utils/request.js 里 line 61 报错, 此时的 error 是 TypeError: baseURL is undefined, 没有 response 结构体, 把这 error 直接赋给 data 和 response 就解决了.

这么看来, github action 编译打包的时候环境变量给丢了啊 @pan93412

https://github.com/qier222/YesPlayMusic/blob/dd8aa175d1f5b4b6247c03cc6f6e72c4518082b9/.github/workflows/build.yaml#L83 加一行 VUE_APP_NETEASE_API_URL: /api

LuceLoong commented 8 months ago

同样问题

iDTer commented 8 months ago

+1

iDTer commented 8 months ago

image

YiuTerran commented 8 months ago

+1,版本回滚了

xyz-dev commented 8 months ago

+1

Zyoohi commented 8 months ago

+1

sadt0mat0 commented 8 months ago

同样问题

XuuChannel commented 8 months ago

+1

wanqian-windrunner commented 8 months ago

+1

fatyang799 commented 8 months ago

同样问题

rainbowflesh commented 8 months ago

@fatyang799 @wanqian-windrunner @XuuChannel @sadt0mat0 @Zyoohi @xyz-dev @YiuTerran @iDTer @shizhangsz @fatyang799 @xinwf @akllcom

大伙试一下我编译出来的修复版: https://github.com/rainbowflesh/YesPlayMusic/actions/runs/8154969830 在最下面 "Artifacts Produced during runtime" 栏里下载对应的 build.

ori1999 commented 8 months ago

@fatyang799 @wanqian-windrunner @XuuChannel @sadt0mat0 @Zyoohi @xyz-dev @YiuTerran @iDTer @shizhangsz @fatyang799 @xinwf @akllcom

大伙试一下我编译出来的修复版: https://github.com/rainbowflesh/YesPlayMusic/actions/runs/8154969830 在最下面 "Artifacts Produced during runtime" 栏里下载对应的 build.

非常好编译,使我的音频播放

wyylzy commented 8 months ago
截圖 2024-03-05 19 51 16

+1

wanqian-windrunner commented 8 months ago

@fatyang799 @wanqian-windrunner @XuuChannel @sadt0mat0 @Zyoohi @xyz-dev @YiuTerran @iDTer @shizhangsz @fatyang799 @xinwf @akllcom

大伙试一下我编译出来的修复版: https://github.com/rainbowflesh/YesPlayMusic/actions/runs/8154969830 在最下面 "Artifacts Produced during runtime" 栏里下载对应的 build.

感谢,能用了