部署到 Netlify 一个普通 JS 应用程序的问题

如何解决部署到 Netlify 一个普通 JS 应用程序的问题

我在部署到 Netlify 时从来没有遇到过任何问题,但现在我已经挣扎了好几个小时了! 我总是用 CRA 构建,但现在它是一个普通的 JS 应用程序,我使用 yarn 添加了几个包。 我的 package.json 没有发现任何问题,是吗?

{
 
  "devDependencies": {
    "cypress": "^6.2.0"
  },"dependencies": {
    "emmet": "^2.3.0","serve": "^11.3.2","start-server-and-test": "^1.11.7"
  },"scripts": {
    "start": "PORT=5000 react-scripts start","start:silent": "BROWSER=none PORT=5000 react-scripts start","build": "CI= yarn run build","test": "react-scripts test","eject": "react-scripts eject","cy:open": "cypress open","cypress": "start-server-and-test start:silent http://localhost:5000/ cy:open","serve": "serve ./"
  }
}

我会从 Netlify 中复制日志,因为我不太了解它们。

1:14:51 AM: Build ready to start
1:14:53 AM: build-image version: 53b83b6bede2920f236b25b6f5a95334320dc849
1:14:53 AM: build-image tag: v3.6.0
1:14:53 AM: buildbot version: e26592b49d9d56b21349effe1b8fab4d50845f11
1:14:53 AM: Fetching cached dependencies
1:14:53 AM: Failed to fetch cache,continuing with build
1:14:53 AM: Starting to prepare the repo for build
1:14:53 AM: No cached dependencies found. Cloning fresh repo
1:14:53 AM: git clone https://github.com/myname/Vanilla
1:14:54 AM: Preparing Git Reference refs/heads/main
1:14:56 AM: Different publish path detected,going to use the one specified in the Netlify configuration file: 'dist' versus 'dist/' in the Netlify UI
1:14:56 AM: Starting build script
1:14:56 AM: Installing dependencies
1:14:56 AM: Python version set to 2.7
1:14:57 AM: v12.18.0 is already installed.
1:14:58 AM: Now using node v12.18.0 (npm v6.14.4)
1:14:58 AM: Started restoring cached build plugins
1:14:58 AM: Finished restoring cached build plugins
1:14:58 AM: Attempting ruby version 2.7.1,read from environment
1:14:59 AM: Using ruby version 2.7.1
1:15:00 AM: Using PHP version 5.6
1:15:00 AM: Started restoring cached node modules
1:15:00 AM: Finished restoring cached node modules
1:15:00 AM: Started restoring cached yarn cache
1:15:00 AM: Finished restoring cached yarn cache
1:15:00 AM: Installing yarn at version 1.22.4
1:15:00 AM: Installing Yarn!
1:15:00 AM: > Downloading tarball...
1:15:00 AM: [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.9IdRgT769z
1:15:00 AM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
1:15:00 AM:                                  Dload  Upload   Total   Spent    Left  Speed
1:15:00 AM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
1:15:00 AM: 100    80  100    80    0     0    242      0 --:--:-- --:--:-- --:--:--   243
1:15:01 AM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
1:15:01 AM: 100    93  100    93    0     0    122      0 --:--:-- --:--:-- --:--:--   484
1:15:01 AM: 100   643  100   643    0     0    530      0  0:00:01  0:00:01 --:--:--   530
1:15:01 AM:   9 1215k    9  118k    0     0  77966      0  0:00:15  0:00:01  0:00:14 77966
1:15:01 AM: 100 1215k  100 1215k    0     0   727k      0  0:00:01  0:00:01 --:--:-- 9794k
1:15:01 AM: [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.9IdRgT769z.asc
1:15:01 AM: 100    84  100    84    0     0   3049      0 --:--:-- --:--:-- --:--:--  3049
1:15:02 AM: 100    97  100    97    0     0   1242      0 --:--:-- --:--:-- --:--:--  1242
1:15:02 AM: 100   647  100   647    0     0   2952      0 --:--:-- --:--:-- --:--:--  2952
1:15:02 AM: 100  1028  100  1028    0     0   3923      0 --:--:-- --:--:-- --:--:--  3923
1:15:02 AM: > Verifying integrity...
1:15:02 AM: gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
1:15:02 AM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
1:15:02 AM: gpg: WARNING: This key is not certified with a trusted signature!
1:15:02 AM: gpg:          There is no indication that the signature belongs to the owner.
1:15:02 AM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
1:15:02 AM:      Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA
1:15:02 AM: > GPG signature looks good
1:15:02 AM: > Extracting to ~/.yarn...
1:15:02 AM: > Adding to $PATH...
1:15:02 AM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
1:15:03 AM: Installing NPM modules using Yarn version 1.22.4
1:15:03 AM: yarn install v1.22.4
1:15:03 AM: warning package.json: No license field
1:15:03 AM: warning No license field
1:15:03 AM: [1/4] Resolving packages...
1:15:03 AM: [2/4] Fetching packages...
1:15:11 AM: [3/4] Linking dependencies...
1:15:13 AM: [4/4] Building fresh packages...
1:15:30 AM: Done in 27.27s.
1:15:31 AM: NPM modules installed using Yarn
1:15:31 AM: warning package.json: No license field
1:15:31 AM: Started restoring cached go cache
1:15:31 AM: Finished restoring cached go cache
1:15:31 AM: go version go1.14.4 linux/amd64
1:15:31 AM: go version go1.14.4 linux/amd64
1:15:31 AM: Installing missing commands
1:15:31 AM: Verify run directory
1:15:32 AM: ​
1:15:32 AM: ────────────────────────────────────────────────────────────────
1:15:32 AM:   Netlify Build                                                 
1:15:32 AM: ────────────────────────────────────────────────────────────────
1:15:32 AM: ​
1:15:32 AM: ❯ Version
1:15:32 AM:   @netlify/build 8.0.1
1:15:32 AM: ​
1:15:32 AM: ❯ Flags
1:15:32 AM:   deployId: 5ff92dbbeb91b7410728e9c4
1:15:32 AM:   mode: buildbot
1:15:32 AM: ​
1:15:32 AM: ❯ Current directory
1:15:32 AM:   /opt/build/repo
1:15:32 AM: ​
1:15:32 AM: ❯ Config file
1:15:32 AM:   No config file was defined: using default values.
1:15:32 AM: ​
1:15:32 AM: ❯ Context
1:15:32 AM:   production
1:15:32 AM: ​
1:15:32 AM: ────────────────────────────────────────────────────────────────
1:15:32 AM:   1. Build command from Netlify app                             
1:15:32 AM: ────────────────────────────────────────────────────────────────
1:15:32 AM: ​
1:15:32 AM: $ CI= yarn run build
1:15:33 AM: yarn run v1.22.4
1:15:33 AM: warning package.json: No license field
1:15:33 AM: $ CI= yarn run build
1:15:33 AM: warning package.json: No license field
1:15:33 AM: $ CI= yarn run build
1:15:33 AM: warning package.json: No license field
1:15:33 AM: $ CI= yarn run build
1:15:33 AM: warning package.json: No license field
1:15:49 AM: $ CI= yarn run build
1:15:49 AM: warning package.json: No license field
1:15:49 AM: $ CI= yarn run build
1:15:49 AM: warning package.json: No license field
1:15:49 AM: $ CI= yarn run build
1:15:49 AM: warning package.json: No license field
1:15:50 AM: $ CI= yarn run build
1:15:50 AM: warning package.json: No license field
1:15:50 AM: $ CI= yarn run build
1:15:50 AM: warning package.json: No license field
1:15:50 AM: $ CI= yarn run build
1:15:50 AM: warning package.json: No license field
1:15:50 AM: $ CI= yarn run build
1:15:50 AM: warning package.json: No license field
1:15:50 AM: $ CI= yarn run build
1:15:51 AM: warning package.json: No license field
1:15:51 AM: $ CI= yarn run build
1:15:51 AM: warning package.json: No license field
1:15:51 AM: $ CI= yarn run build
1:15:51 AM: warning package.json: No license field
1:15:51 AM: $ CI= yarn run build
1:15:51 AM: warning package.json: No license field
1:15:51 AM: $ CI= yarn run build
1:15:52 AM: warning package.json: No license field
1:15:52 AM: $ CI= yarn run build
1:15:52 AM: warning package.json: No license field
1:15:52 AM: $ CI= yarn run build
1:15:52 AM: warning package.json: No license field
1:15:52 AM: $ CI= yarn run build
1:15:52 AM: warning package.json: No license field
1:15:52 AM: $ CI= yarn run build
1:15:53 AM: warning package.json: No license field
1:15:53 AM: $ CI= yarn run build
1:15:53 AM: warning package.json: No license field
1:15:53 AM: $ CI= yarn run build
1:15:53 AM: warning package.json: No license field
1:15:53 AM: $ CI= yarn run build
1:15:53 AM: warning package.json: No license field
1:15:53 AM: $ CI= yarn run build
1:15:54 AM: warning package.json: No license field
1:15:54 AM: $ CI= yarn run build
1:15:54 AM: warning package.json: No license field
1:15:54 AM: $ CI= yarn run build
1:15:54 AM: warning package.json: No license field
1:15:54 AM: $ CI= yarn run build
1:15:54 AM: warning package.json: No license field
1:15:54 AM: $ CI= yarn run build
1:15:54 AM: warning package.json: No license field
1:15:54 AM: $ CI= yarn run build
1:15:55 AM: warning package.json: No license field
1:15:55 AM: $ CI= yarn run build
1:15:55 AM: warning package.json: No license field
1:15:55 AM: $ CI= yarn run build
1:15:55 AM: warning package.json: No license field
1:15:55 AM: $ CI= yarn run build
1:15:55 AM: warning package.json: No license field
1:15:55 AM: $ CI= yarn run build
1:15:56 AM: warning package.json: No license field
1:15:56 AM: $ CI= yarn run build
1:15:56 AM: warning package.json: No license field
1:15:56 AM: $ CI= yarn run build
1:15:56 AM: warning package.json: No license field
1:15:56 AM: $ CI= yarn run build
1:15:56 AM: warning package.json: No license field
1:15:56 AM: $ CI= yarn run build
1:15:56 AM: warning package.json: No license field
1:15:56 AM: $ CI= yarn run build
1:15:57 AM: warning package.json: No license field
1:15:57 AM: $ CI= yarn run build
1:15:57 AM: warning package.json: No license field
1:15:57 AM: $ CI= yarn run build
1:15:57 AM: warning package.json: No license field
1:15:57 AM: $ CI= yarn run build
1:15:57 AM: warning package.json: No license field
1:15:57 AM: $ CI= yarn run build
1:15:58 AM: warning package.json: No license field
1:15:58 AM: $ CI= yarn run build
1:15:58 AM: warning package.json: No license field
1:15:58 AM: $ CI= yarn run build
1:15:58 AM: warning package.json: No license field
1:15:58 AM: $ CI= yarn run build
1:15:58 AM: warning package.json: No license field
1:15:58 AM: $ CI= yarn run build
1:15:59 AM: warning package.json: No license field
1:15:59 AM: $ CI= yarn run build
1:15:59 AM: warning package.json: No license field
1:15:59 AM: $ CI= yarn run build
1:15:59 AM: warning package.json: No license field
1:15:59 AM: $ CI= yarn run build
1:15:59 AM: warning package.json: No license field
1:15:59 AM: $ CI= yarn run build
1:16:00 AM: warning package.json: No license field
1:16:00 AM: $ CI= yarn run build
1:16:00 AM: warning package.json: No license field
1:16:00 AM: $ CI= yarn run build
1:16:00 AM: warning package.json: No license field
1:16:00 AM: $ CI= yarn run build
1:16:01 AM: warning package.json: No license field
1:16:01 AM: $ CI= yarn run build
1:16:01 AM: warning package.json: No license field
1:16:01 AM: $ CI= yarn run build
1:16:01 AM: warning package.json: No license field
1:16:01 AM: $ CI= yarn run build
1:16:01 AM: warning package.json: No license field
1:16:15 AM: warning package.json: No license field
1:16:15 AM: $ CI= yarn run build
1:16:16 AM: warning package.json: No license field
1:16:16 AM: $ CI= yarn run build
1:16:16 AM: warning package.json: No license field
1:16:16 AM: $ CI= yarn run build
1:16:16 AM: warning package.json: No license field
1:16:16 AM: $ CI= yarn run build
1:16:16 AM: warning package.json: No license field
1:16:17 AM: $ CI= yarn run build
1:16:17 AM: warning package.json: No license field
1:16:17 AM: $ CI= yarn run build
1:16:17 AM: warning package.json: No license field
1:16:17 AM: $ CI= yarn run build
1:16:21 AM: /opt/build-bin/build: line 74:  1375 Killed                  FORCE_COLOR=1 "$netlify_build_node_bin" "$netlify_build_bin" --node-path="$user_node_path" --cachedConfig="$cached_netlify_build_config" --token="$netlify_token" --deploy-id="$DEPLOY_ID" --mode="buildbot" --send-status --statsd.host="$STATSD_HOST" --statsd.port="$STATSD_PORT" --functions-dist-dir="$functions_dist_dir" --buildbot-server-socket="$buildbot_server_socket" --feature-flags="$feature_flags"
1:16:21 AM: Caching artifacts
1:16:21 AM: Started saving node modules
1:16:21 AM: Finished saving node modules
1:16:21 AM: Started saving build plugins
1:16:21 AM: Finished saving build plugins
1:16:21 AM: Started saving yarn cache
1:16:21 AM: Finished saving yarn cache
1:16:21 AM: Started saving pip cache
1:16:21 AM: Killed
1:16:21 AM: Killed
1:16:21 AM: error Command failed with exit code 137.
1:16:21 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:21 AM: warning package.json: No license field
1:16:21 AM: Finished saving pip cache
1:16:21 AM: Started saving emacs cask dependencies
1:16:21 AM: $ CI= yarn run build
1:16:21 AM: Finished saving emacs cask dependencies
1:16:21 AM: Started saving maven dependencies
1:16:21 AM: Finished saving maven dependencies
1:16:21 AM: Started saving boot dependencies
1:16:21 AM: Killed
1:16:21 AM: error Command failed with exit code 137.
1:16:21 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:21 AM: Finished saving boot dependencies
1:16:21 AM: Started saving rust rustup cache
1:16:21 AM: Finished saving rust rustup cache
1:16:21 AM: Started saving rust cargo bin cache
1:16:21 AM: error Command failed with signal "SIGKILL".
1:16:21 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:21 AM: Killed
1:16:21 AM: Killed
1:16:21 AM: Finished saving rust cargo bin cache
1:16:21 AM: Started saving go dependencies
1:16:21 AM: Finished saving go dependencies
1:16:21 AM: error Command failed with exit code 137.
1:16:21 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:21 AM: Killed
1:16:21 AM: Killed
1:16:21 AM: error Command failed with signal "SIGKILL".
1:16:21 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: Killed
1:16:22 AM: error Command failed with exit code 137.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: Killed
1:16:22 AM: Killed
1:16:22 AM: error Command failed with signal "SIGKILL".
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: Killed
1:16:22 AM: Killed
1:16:22 AM: error Command failed with exit code 137.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: error Command failed with exit code 137.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: Killed
1:16:22 AM: error Command failed with exit code 137.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: error Command failed with exit code 137.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: error Command failed with exit code 1.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: warning package.json: No license field
1:16:22 AM: error Command failed with exit code 137.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: error Command failed with exit code 1.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: $ CI= yarn run build
1:16:22 AM: error Command failed with exit code 137.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:22 AM: error Command failed with exit code 1.
1:16:22 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 1.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 1.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 1.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 1.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: warning package.json: No license field
1:16:23 AM: error Command failed with exit code 1.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: $ CI= yarn run build
1:16:23 AM: error Command failed with exit code 1.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 1.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:23 AM: error Command failed with exit code 137.
1:16:23 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 1.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 1.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 1.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: warning package.json: No license field
1:16:24 AM: $ CI= yarn run build
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:24 AM: error Command failed with exit code 137.
1:16:24 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:28 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:28 AM: error Command failed with exit code 137.
1:16:28 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:28 AM: error Command failed with exit code 127.
1:16:28 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:28 AM: error Command failed with exit code 137.
1:16:28 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:29 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:29 AM: error Command failed with exit code 137.
1:16:29 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:16:29 AM: Error running command: Build script returned non-zero exit code: 137
1:16:29 AM: Failing build: Failed to build site
1:16:29 AM: Failed during stage 'building site': Build script returned non-zero exit code: 137
1:16:29 AM: Finished processing build request in 1m36.341953653s

我关注了 https://community.netlify.com/ 中的类似帖子,因此实际上尝试将 CI= yarn run build 添加到构建设置中,但没有奏效。

你有什么提示吗?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-
参考1 参考2 解决方案 # 点击安装源 协议选择 http:// 路径填写 mirrors.aliyun.com/centos/8.3.2011/BaseOS/x86_64/os URL类型 软件库URL 其他路径 # 版本 7 mirrors.aliyun.com/centos/7/os/x86
报错1 [root@slave1 data_mocker]# kafka-console-consumer.sh --bootstrap-server slave1:9092 --topic topic_db [2023-12-19 18:31:12,770] WARN [Consumer clie
错误1 # 重写数据 hive (edu)&gt; insert overwrite table dwd_trade_cart_add_inc &gt; select data.id, &gt; data.user_id, &gt; data.course_id, &gt; date_format(
错误1 hive (edu)&gt; insert into huanhuan values(1,&#39;haoge&#39;); Query ID = root_20240110071417_fe1517ad-3607-41f4-bdcf-d00b98ac443e Total jobs = 1
报错1:执行到如下就不执行了,没有显示Successfully registered new MBean. [root@slave1 bin]# /usr/local/software/flume-1.9.0/bin/flume-ng agent -n a1 -c /usr/local/softwa
虚拟及没有启动任何服务器查看jps会显示jps,如果没有显示任何东西 [root@slave2 ~]# jps 9647 Jps 解决方案 # 进入/tmp查看 [root@slave1 dfs]# cd /tmp [root@slave1 tmp]# ll 总用量 48 drwxr-xr-x. 2
报错1 hive&gt; show databases; OK Failed with exception java.io.IOException:java.lang.RuntimeException: Error in configuring object Time taken: 0.474 se
报错1 [root@localhost ~]# vim -bash: vim: 未找到命令 安装vim yum -y install vim* # 查看是否安装成功 [root@hadoop01 hadoop]# rpm -qa |grep vim vim-X11-7.4.629-8.el7_9.x
修改hadoop配置 vi /usr/local/software/hadoop-2.9.2/etc/hadoop/yarn-site.xml # 添加如下 &lt;configuration&gt; &lt;property&gt; &lt;name&gt;yarn.nodemanager.res