Closed tosasitill closed 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
同问
我之前部署成功了,然后昨天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>
好像是这个提交#2009 出了问题,根据这个提交记录,把src/views/album.vue中<div v-if="album.company" class="copyright">
改回之前的<div v-if="album.company !== null" class="copyright">
,再到vercel部署即可。
為什麼要把 prettier 設定成 critical error……
我等等送個 commit 修正。
萌新借樓.. 在vercel部署後,不能通过二维码登录是正常的嘛QAQ
萌新借樓.. 在vercel部署後,不能通过二维码登录是正常的嘛QAQ
不太清楚欸
萌新借樓.. 在vercel部署後,不能通过二维码登录是正常的嘛QAQ
不太清楚欸
好的,我了解了;是因爲我少看了一些步驟,沒有部署NeteaseCloudMusicApi ...
BUG 信息
Vercel 网页版
macOS 13.3
UA:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
部署使用版本:github.com/tosasitill/YesPlayMusic (Branch: master, Commit: 1cb3e4b)
log 情况如下: [23:45:44.325] Running build in Cleveland, USA (East) – cle1 [23:45:44.376] Cloning github.com/tosasitill/YesPlayMusic (Branch: master, Commit: 1cb3e4b) [23:45:44.382] Skipping build cache, deployment was triggered without cache. [23:45:44.981] Cloning completed: 604.604ms [23:45:45.121] Running "vercel build" [23:45:45.554] Vercel CLI 28.18.1 [23:45:46.113] Installing dependencies... [23:45:46.405] yarn install v1.22.17 [23:45:46.486] [1/4] Resolving packages... [23:45:48.124] warning Resolution field "degenerator@2.2.0" is incompatible with requested version "degenerator@^3.0.2" [23:45:48.247] warning Resolution field "icon-gen@3.0.0" is incompatible with requested version "icon-gen@^2.0.0" [23:45:48.663] [2/4] Fetching packages... [23:46:12.834] [3/4] Linking dependencies... [23:46:12.841] warning "svg-sprite-loader > svg-baker > postcss-prefix-selector@1.14.0" has incorrect peer dependency "postcss@7.x || 8.x". [23:46:12.849] warning " > eslint-config-prettier@8.5.0" has incorrect peer dependency "eslint@>=7.0.0". [23:46:12.850] warning " > sass-loader@10.2.1" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0". [23:46:30.980] [4/4] Building fresh packages... [23:46:35.378] success Saved lockfile. [23:46:35.382] $ electron-builder install-app-deps [23:46:35.724] • electron-builder version=23.0.3 [23:46:35.789] • rebuilding native dependencies dependencies=abstract-socket@2.1.1, register-scheme@0.0.2, sharp@0.29.3 platform=linux arch=x64 [23:46:35.789] • install prebuilt binary name=sharp version=0.29.3 platform=linux arch=x64 napi= [23:46:35.996] • rebuilding native dependency name=register-scheme version=0.0.2 [23:46:35.996] • rebuilding native dependency name=abstract-socket version=2.1.1 [23:46:38.989] Done in 52.59s. [23:46:39.022] Running "yarn run build" [23:46:39.196] yarn run v1.22.17 [23:46:39.225] $ vue-cli-service build [23:46:39.891] Browserslist: caniuse-lite is outdated. Please run: [23:46:39.891] npx browserslist@latest --update-db [23:46:39.891] Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating [23:46:39.934] [23:46:39.935] - Building for production... [23:46:42.554] Browserslist: caniuse-lite is outdated. Please run: [23:46:42.555] npx browserslist@latest --update-db [23:46:42.555] Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating [23:46:45.353] Browserslist: caniuse-lite is outdated. Please run: [23:46:45.354] npx browserslist@latest --update-db [23:46:45.354] Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating [23:46:45.354] Browserslist: caniuse-lite is outdated. Please run: [23:46:45.355] npx browserslist@latest --update-db [23:46:45.355] Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating [23:47:04.075] ERROR Failed to compile with 1 error3:47:04 PM [23:47:04.076] [23:47:04.076] error in ./src/views/album.vue [23:47:04.076] [23:47:04.076] Module Error (from ./node_modules/eslint-loader/index.js): [23:47:04.076] [23:47:04.076] /vercel/path0/src/views/album.vue [23:47:04.076] 99:51 error Replace
⏎········©·{{·album.company·}}⏎·····
with·©·{{·album.company·}}
prettier/prettier [23:47:04.077] [23:47:04.077] ✖ 1 problem (1 error, 0 warnings) [23:47:04.077] 1 error and 0 warnings potentially fixable with the--fix
option. [23:47:04.077] [23:47:04.077] [23:47:04.077] @ ./src/router/index.js 46:11-38 [23:47:04.077] @ ./src/main.js [23:47:04.077] @ multi ./src/main.js [23:47:04.077] [23:47:04.077] ERROR Build failed with errors. [23:47:04.113] error Command failed with exit code 1. [23:47:04.113] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [23:47:04.132] Error: Command "yarn run build" exited with 1 [23:47:04.484] BUILD_UTILS_SPAWN_1: Command "yarn run build" exited with 1Photo:![image](https://user-images.githubusercontent.com/66861785/228248367-b8016dde-4633-4ba6-b675-c913b0bdc432.png)
希望大佬解决!