qier222 / YesPlayMusic

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

2023.3.28 Vercel 部署报错 #2018

Closed tosasitill closed 1 year ago

tosasitill commented 1 year ago

BUG 信息

希望大佬解决!

cgqhegl commented 1 year ago

[10:20:23.772] Running build in Cleveland, USA (East) – cle1 [10:20:23.824] Cloning github.com/cgqhegl/YesPlayMusic (Branch: master, Commit: 4ab04d3) [10:20:24.069] Previous build cache not available [10:20:24.432] Cloning completed: 607.44ms [10:20:24.552] Running "vercel build" [10:20:24.997] Vercel CLI 28.18.3 [10:20:25.581] Installing dependencies... [10:20:25.883] yarn install v1.22.17 [10:20:25.965] [1/4] Resolving packages... [10:20:26.090] warning Resolution field "degenerator@2.2.0" is incompatible with requested version "degenerator@^3.0.2" [10:20:26.132] warning Resolution field "icon-gen@3.0.0" is incompatible with requested version "icon-gen@^2.0.0" [10:20:26.523] [2/4] Fetching packages... [10:20:48.058] error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.13.0" [10:20:48.069] error Found incompatible module. [10:20:48.070] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. [10:20:48.108] Error: Command "yarn install" exited with 1 [10:20:48.624] BUILD_UTILS_SPAWN_1: Command "yarn install" exited with 1

同问

BarryYangi commented 1 year ago

我之前部署成功了,然后昨天fork更新了下然后部署也报错了。

<html>
<body>
<!--StartFragment-->

error  in ./src/views/album.vue
--
13:14:52.596 |  
13:14:52.596 | Module Error (from ./node_modules/eslint-loader/index.js):
13:14:52.596 |  
13:14:52.597 | /vercel/path0/src/views/album.vue
13:14:52.597 | 99:51  error  Replace `⏎········©·{{·album.company·}}⏎·····` with `·©·{{·album.company·}}`  prettier/prettier
13:14:52.597 |  
13:14:52.597 | ✖ 1 problem (1 error, 0 warnings)
13:14:52.597 | 1 error and 0 warnings potentially fixable with the `--fix` option.
13:14:52.597 |  
13:14:52.597 |  
13:14:52.597 | @ ./src/router/index.js 46:11-38
13:14:52.597 | @ ./src/main.js
13:14:52.597 | @ multi ./src/main.js
13:14:52.598 |  
13:14:52.598 | ERROR  Build failed with errors.
13:14:52.643 | error Command failed with exit code 1.
13:14:52.643 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
13:14:52.662 | Error: Command "yarn run build" exited with 1
13:14:52.893 | BUILD_UTILS_SPAWN_1: Command "yarn run build" exited with 1

<!--EndFragment-->
</body>
</html>
ghost commented 1 year ago

好像是这个提交#2009 出了问题,根据这个提交记录,把src/views/album.vue中<div v-if="album.company" class="copyright">改回之前的<div v-if="album.company !== null" class="copyright">,再到vercel部署即可。

pan93412 commented 1 year ago

為什麼要把 prettier 設定成 critical error……

我等等送個 commit 修正。

cutecwc commented 1 year ago

萌新借樓.. 在vercel部署後,不能通过二维码登录是正常的嘛QAQ

tosasitill commented 1 year ago

萌新借樓.. 在vercel部署後,不能通过二维码登录是正常的嘛QAQ

不太清楚欸

cutecwc commented 1 year ago

萌新借樓.. 在vercel部署後,不能通过二维码登录是正常的嘛QAQ

不太清楚欸

好的,我了解了;是因爲我少看了一些步驟,沒有部署NeteaseCloudMusicApi ...