CareyWang/sub-web

部署到cf pages 失败!!!

Closed this issue · 1 comments

kitkw commented

2022-07-21T19:25:41.56304Z Cloning repository...
2022-07-21T19:25:42.487611Z From https://github.com/kitkw/sub-web
2022-07-21T19:25:42.488117Z * branch 515f7a4 -> FETCH_HEAD
2022-07-21T19:25:42.488286Z
2022-07-21T19:25:42.553113Z HEAD is now at 515f7a4 Update Subconverter.vue
2022-07-21T19:25:42.553561Z
2022-07-21T19:25:42.695611Z
2022-07-21T19:25:42.72322Z Success: Finished cloning repository files
2022-07-21T19:25:43.417927Z Installing dependencies
2022-07-21T19:25:43.42904Z Python version set to 2.7
2022-07-21T19:25:46.715121Z v12.18.0 is already installed.
2022-07-21T19:25:47.876078Z Now using node v12.18.0 (npm v6.14.4)
2022-07-21T19:25:48.088209Z Started restoring cached build plugins
2022-07-21T19:25:48.102666Z Finished restoring cached build plugins
2022-07-21T19:25:48.569976Z Attempting ruby version 2.7.1, read from environment
2022-07-21T19:25:52.009542Z Using ruby version 2.7.1
2022-07-21T19:25:52.365865Z Using PHP version 5.6
2022-07-21T19:25:52.519259Z 5.2 is already installed.
2022-07-21T19:25:52.545258Z Using Swift version 5.2
2022-07-21T19:25:52.545765Z Started restoring cached node modules
2022-07-21T19:25:52.562992Z Finished restoring cached node modules
2022-07-21T19:25:52.569618Z Started restoring cached yarn cache
2022-07-21T19:25:52.583122Z Finished restoring cached yarn cache
2022-07-21T19:25:52.602599Z Installing yarn at version 1.22.4
2022-07-21T19:25:52.619167Z �[37mInstalling Yarn!�[0m
2022-07-21T19:25:52.619526Z �[36m> Downloading tarball...�[0m
2022-07-21T19:25:52.655906Z
2022-07-21T19:25:52.656265Z [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.h4C4jTT4iz
2022-07-21T19:25:52.656974Z % Total % Received % Xferd Average Speed Time Time Time Current
2022-07-21T19:25:52.657436Z Dload Upload Total Spent Left Speed
2022-07-21T19:25:52.985049Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 79 100 79 0 0 240 0 --:--:-- --:--:-- --:--:-- 240
2022-07-21T19:25:53.116807Z
100 92 100 92 0 0 199 0 --:--:-- --:--:-- --:--:-- 199
2022-07-21T19:25:53.27971Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2022-07-21T19:25:53.631272Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1215k 100 1215k 0 0 1247k 0 --:--:-- --:--:-- --:--:-- 4587k
2022-07-21T19:25:53.63163Z
2022-07-21T19:25:53.6321Z [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.h4C4jTT4iz.asc
2022-07-21T19:25:53.692456Z
100 83 100 83 0 0 1380 0 --:--:-- --:--:-- --:--:-- 1380
2022-07-21T19:25:53.694989Z
100 96 100 96 0 0 1529 0 --:--:-- --:--:-- --:--:-- 1529
2022-07-21T19:25:53.703733Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2022-07-21T19:25:53.799169Z
100 1028 100 1028 0 0 6160 0 --:--:-- --:--:-- --:--:-- 6160
2022-07-21T19:25:53.847477Z �[36m> Verifying integrity...�[0m
2022-07-21T19:25:53.8859Z gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
2022-07-21T19:25:53.892173Z gpg: Good signature from "Yarn Packaging yarn@dan.cx"
2022-07-21T19:25:53.8948Z gpg: Note: This key has expired!
2022-07-21T19:25:53.895039Z Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
2022-07-21T19:25:53.895182Z Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
2022-07-21T19:25:53.895853Z �[32m> GPG signature looks good�[0m
2022-07-21T19:25:53.896179Z �[36m> Extracting to ~/.yarn...�[0m
2022-07-21T19:25:53.986787Z �[36m> Adding to $PATH...�[0m
2022-07-21T19:25:54.011257Z �[36m> We've added the following to your /opt/buildhome/.bashrc
2022-07-21T19:25:54.011602Z > If this isn't the profile of your current shell then please add the following to your correct profile:
2022-07-21T19:25:54.011759Z
2022-07-21T19:25:54.0119Z export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
2022-07-21T19:25:54.012514Z �[0m
2022-07-21T19:25:54.388007Z �[32m> Successfully installed Yarn 1.22.4! Please open another terminal where the yarn command will now be available.�[0m
2022-07-21T19:25:54.773954Z Installing NPM modules using Yarn version 1.22.4
2022-07-21T19:25:55.324781Z yarn install v1.22.4
2022-07-21T19:25:55.42271Z [1/4] Resolving packages...
2022-07-21T19:25:55.884327Z [2/4] Fetching packages...
2022-07-21T19:26:15.851674Z info fsevents@2.3.2: The platform "linux" is incompatible with this module.
2022-07-21T19:26:15.852047Z info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
2022-07-21T19:26:15.853636Z info fsevents@1.2.13: The platform "linux" is incompatible with this module.
2022-07-21T19:26:15.853924Z info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
2022-07-21T19:26:15.866505Z [3/4] Linking dependencies...
2022-07-21T19:26:15.87628Z warning " > sass-loader@8.0.2" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
2022-07-21T19:26:31.143304Z [4/4] Building fresh packages...
2022-07-21T19:26:32.794815Z Done in 37.48s.
2022-07-21T19:26:32.836904Z NPM modules installed using Yarn
2022-07-21T19:26:33.125501Z Installing Hugo 0.54.0
2022-07-21T19:26:33.819344Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2022-07-21T19:26:33.823587Z Started restoring cached go cache
2022-07-21T19:26:33.841786Z Finished restoring cached go cache
2022-07-21T19:26:33.982066Z go version go1.14.4 linux/amd64
2022-07-21T19:26:33.995879Z go version go1.14.4 linux/amd64
2022-07-21T19:26:34.00051Z Installing missing commands
2022-07-21T19:26:34.00081Z Verify run directory
2022-07-21T19:26:34.000986Z Executing user command: yarn build
2022-07-21T19:26:34.231955Z yarn run v1.22.4
2022-07-21T19:26:34.273438Z $ vue-cli-service build
2022-07-21T19:26:34.934933Z Browserslist: caniuse-lite is outdated. Please run:
2022-07-21T19:26:34.935391Z npx browserslist@latest --update-db
2022-07-21T19:26:34.935584Z Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
2022-07-21T19:26:35.303733Z
2022-07-21T19:26:35.304277Z - Building for production...
2022-07-21T19:26:38.299767Z Browserslist: caniuse-lite is outdated. Please run:
2022-07-21T19:26:38.300196Z npx browserslist@latest --update-db
2022-07-21T19:26:38.300376Z Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
2022-07-21T19:26:39.989239Z Browserslist: caniuse-lite is outdated. Please run:
2022-07-21T19:26:39.989536Z npx browserslist@latest --update-db
2022-07-21T19:26:39.98968Z Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
2022-07-21T19:26:39.9898Z Browserslist: caniuse-lite is outdated. Please run:
2022-07-21T19:26:39.989913Z npx browserslist@latest --update-db
2022-07-21T19:26:39.990022Z Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
2022-07-21T19:26:51.265382Z ERROR Failed to compile with 1 error7:26:51 PM
2022-07-21T19:26:51.265718Z
2022-07-21T19:26:51.265882Z error in ./src/views/Subconverter.vue?vue&type=script&lang=js&
2022-07-21T19:26:51.26601Z
2022-07-21T19:26:51.26616Z Syntax Error: Thread Loader (Worker 0)
2022-07-21T19:26:51.266283Z /opt/buildhome/repo/src/views/Subconverter.vue: Unexpected token, expected "," (370:10)
2022-07-21T19:26:51.266422Z
2022-07-21T19:26:51.266531Z 368 | ]
2022-07-21T19:26:51.266639Z 369 | },
2022-07-21T19:26:51.266747Z > 370 | form: {
2022-07-21T19:26:51.266856Z | ^
2022-07-21T19:26:51.266963Z 371 | sourceSubUrl: "",
2022-07-21T19:26:51.267083Z 372 | clientType: "",
2022-07-21T19:26:51.267212Z 373 | customBackend: "",
2022-07-21T19:26:51.267352Z
2022-07-21T19:26:51.267465Z
2022-07-21T19:26:51.267573Z @ ./src/views/Subconverter.vue?vue&type=script&lang=js& 1:0-326 1:342-345 1:347-670 1:347-670
2022-07-21T19:26:51.267688Z @ ./src/views/Subconverter.vue
2022-07-21T19:26:51.267794Z @ ./src/router/index.js
2022-07-21T19:26:51.267901Z @ ./src/main.js
2022-07-21T19:26:51.268005Z @ multi ./src/main.js
2022-07-21T19:26:51.268123Z
2022-07-21T19:26:51.268258Z ERROR Build failed with errors.
2022-07-21T19:26:51.299869Z error Command failed with exit code 1.
2022-07-21T19:26:51.300218Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2022-07-21T19:26:51.314071Z Failed: build command exited with code: 1
2022-07-21T19:26:52.192431Z Failed: an internal error occurred

修改好后建议用工具检查下语法,我部署到cf pages是正常的
cncherisher@5c6717e