Closed TomKe123 closed 6 days ago
根据报错,应该是#2268 commit的错误 日志如下:
[13:33:06.471] Running build in Washington, D.C., USA (East) – iad1 [13:33:06.663] Cloning github.com/TomKe123/testmusic (Branch: main, Commit: dbcd11c) [13:33:07.062] Previous build cache not available [13:33:07.278] Cloning completed: 614.212ms [13:33:07.710] Running "vercel build" [13:33:08.168] Vercel CLI 36.0.0 [13:33:09.052] Error: Node.js version 16.x has reached End-of-Life. Deployments created on or after 2025-01-31 will fail to build. Please set "engines": { "node": "20.x" } in your `package.json` file to use Node.js 20. [13:33:09.059] Installing dependencies... [13:33:09.461] yarn install v1.22.19 [13:33:09.564] [1/5] Validating package.json... [13:33:09.568] [2/5] Resolving packages... [13:33:09.699] warning Resolution field "degenerator@2.2.0" is incompatible with requested version "degenerator@^5.0.0" [13:33:09.796] warning Resolution field "icon-gen@3.0.0" is incompatible with requested version "icon-gen@^2.0.0" [13:33:10.261] [3/5] Fetching packages... [13:33:38.886] [4/5] Linking dependencies... [13:33:38.893] warning "dexie > karma-safari-launcher@1.0.0" has unmet peer dependency "karma@>=0.9". [13:33:38.896] warning " > esbuild-loader@4.0.3" has unmet peer dependency "webpack@^4.40.0 || ^5.0.0". [13:33:38.907] warning " > eslint-config-prettier@8.10.0" has incorrect peer dependency "eslint@>=7.0.0". [13:33:38.907] warning " > sass-loader@10.5.2" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0". [13:33:51.717] [5/5] Building fresh packages... [13:34:02.665] $ electron-builder install-app-deps [13:34:03.062] • electron-builder version=23.6.0 [13:34:03.175] • rebuilding native dependencies dependencies=abstract-socket@2.1.1, register-scheme@0.0.2, sharp@0.29.3 platform=linux arch=x64 [13:34:03.175] • install prebuilt binary name=sharp version=0.29.3 platform=linux arch=x64 napi= [13:34:03.313] • rebuilding native dependency name=register-scheme version=0.0.2 [13:34:03.315] • rebuilding native dependency name=abstract-socket version=2.1.1 [13:34:06.653] Done in 57.20s. [13:34:06.694] Running "yarn run build" [13:34:06.858] yarn run v1.22.19 [13:34:06.890] $ vue-cli-service build [13:34:07.650] [13:34:07.651] - Building for production... [13:34:35.104] ERROR Failed to compile with 2 errors5:34:35 AM [13:34:35.105] [13:34:35.105] error in ./src/components/TrackListItem.vue [13:34:35.106] [13:34:35.106] Module Error (from ./node_modules/eslint-loader/index.js): [13:34:35.109] [13:34:35.109] /vercel/path0/src/components/TrackListItem.vue [13:34:35.109] 45:16 error Replace `·v-if="isAlbum·&&·(track.mark·&·1048576)·===·1048576"` with `⏎············v-if="isAlbum·&&·(track.mark·&·1048576)·===·1048576"⏎···········` prettier/prettier [13:34:35.109] 98:5 warning Prop 'trackProp' requires default value to be set vue/require-default-prop [13:34:35.110] 99:5 warning Prop 'trackNo' requires default value to be set vue/require-default-prop [13:34:35.110] [13:34:35.110] ✖ 3 problems (1 error, 2 warnings) [13:34:35.110] 1 error and 0 warnings potentially fixable with the `--fix` option. [13:34:35.110] [13:34:35.110] [13:34:35.110] @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TrackList.vue?vue&type=script&lang=js 8:0-59 14:4-17 [13:34:35.111] @ ./src/components/TrackList.vue?vue&type=script&lang=js [13:34:35.111] @ ./src/components/TrackList.vue [13:34:35.111] @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/dailyTracks.vue?vue&type=script&lang=js [13:34:35.111] @ ./src/views/dailyTracks.vue?vue&type=script&lang=js [13:34:35.111] @ ./src/views/dailyTracks.vue [13:34:35.111] @ ./src/router/index.js [13:34:35.111] @ ./src/main.js [13:34:35.112] @ multi ./src/main.js [13:34:35.112] [13:34:35.112] error in ./src/views/album.vue [13:34:35.115] [13:34:35.115] Module Error (from ./node_modules/eslint-loader/index.js): [13:34:35.115] [13:34:35.115] /vercel/path0/src/views/album.vue [13:34:35.116] 31:16 error Replace `·v-if="(album.mark·&·1048576)·===·1048576"` with `⏎············v-if="(album.mark·&·1048576)·===·1048576"⏎···········` prettier/prettier [13:34:35.116] [13:34:35.116] ✖ 1 problem (1 error, 0 warnings) [13:34:35.116] 1 error and 0 warnings potentially fixable with the `--fix` option. [13:34:35.116] [13:34:35.116] [13:34:35.117] @ ./src/router/index.js 32:19-46 [13:34:35.117] @ ./src/main.js [13:34:35.117] @ multi ./src/main.js [13:34:35.117] [13:34:35.119] ERROR Build failed with errors. [13:34:35.160] error Command failed with exit code 1. [13:34:35.163] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [13:34:35.169] Error: Command "yarn run build" exited with 1 [13:34:35.785]
同样的报错。
作者大大的也是报错
根据报错,应该是#2268 commit的错误 日志如下: