简体   繁体   English

运行“yarn kbn bootstrap”时出错(kibana install)

[英]Error when I run "yarn kbn bootstrap"(kibana install)

Everybody.大家。 I faced trouble when I try to install kibana bootstrap on my win10 os.当我尝试在我的 win10 操作系统上安装 kibana bootstrap 时遇到了问题。 I followed this tutorial.我跟着这个教程。 "https://www.elastic.co/guide/en/kibana/master/development-getting-started.html" When I run "yarn kbn bootstrap", I saw this error. “https://www.elastic.co/guide/en/kibana/master/development-getting-started.html” 当我运行“yarn kbn bootstrap”时,我看到了这个错误。

  info [bazel] warning Resolution field "trim@1.0.1" is incompatible with requested version 
  "trim@0.0.1"
  info [bazel] success Already up-to-date.
  info [bazel] INFO: Analyzed target //packages:build (1880 packages loaded, 8122 targets 
  configured).
  info [bazel] INFO: Found 1 target...
  info [bazel] ERROR: F:/work/2021_8/bidrectional/development/kibana-master/packages/kbn-dev- 
  utils/BUILD.bazel:106:11: Action packages/kbn-dev- 
  utils/_validate_tsc_types_options.optionsvalid.d.ts failed: (Exit -1): 
  ts_project_options_validator.bat failed: error executing command bazel- 
  out/host/bin/external/npm/@bazel/typescript/bin/ts_project_options_validator.bat 
  packages/kbn-dev-utils/tsconfig.json ... (remaining 4 argument(s) skipped)
  info [bazel] Windows Subsystem for Linux has no installed distributions.
  info [bazel] Distributions can be installed by visiting the Microsoft Store:
  info [bazel] https://aka.ms/wslstore
  info [bazel] Target //packages:build failed to build
  info [bazel] Use --verbose_failures to see the command lines of failed build steps.
  info [bazel]
  info [bazel] ERROR: F:/work/2021_8/bidrectional/development/kibana-master/packages/kbn- 
  analytics/BUILD.bazel:89:8 Assembling npm package packages/kbn-analytics/npm_module failed: 
  (Exit -1): ts_project_options_validator.bat failed: error executing command bazel- 
  out/host/bin/external/npm/@bazel/typescript/bin/ts_project_options_validator.bat 
  packages/kbn- 
  analytics/tsconfig.json ... (remaining 4 argument(s) skipped)
  info [bazel] INFO: Elapsed time: 218.882s, Critical Path: 62.52s
  info [bazel] INFO: 217 processes: 65 remote cache hit, 147 internal, 5 local.
  info [bazel]
  info [bazel]
  ERROR [bootstrap] failed:
  ERROR The bazel command that was running failed to complete.
  error Command failed with exit code 1.
  info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any suggestions are welcome.欢迎任何建议。

From your system out, it seems you are using windows CMD window for installation.从您的系统来看,您似乎正在使用 windows CMD 窗口进行安装。 The official document said in Windows you should run in Git Bash or WSL, and Git Bash is recommended.官方文档说在Windows下你应该在Git Bash或WSL中运行,推荐使用Git Bash。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在我更新 package.json 中的依赖项版本并运行 yarn install 或仅运行 yarn 后,yarn.lock 文件未更新 - yarn.lock file is not updating after I update the version of a dependency in package.json and run yarn install or just yarn 当我只需要构建时,为什么 yarn 会安装开发依赖项? - Why will yarn install dev dependencies when I just need the builds? 编剧错误:未下载 Firefox 修订版。 运行“npm install”或“yarn install” - Playwright Error: Firefox revision is not downloaded. Run "npm install" or "yarn install" lerna 和 yarn workspace 安装错误 - Install error with lerna and yarn workspace "纱线安装命令时出现 ESOCKETTIMEDOUT 错误" - ESOCKETTIMEDOUT error while yarn install command 当我在Django中运行服务器时,出现此请求错误,我一直在使用引导程序 - when i run my server in django i get this request error , i've been using bootstrap 运行 npm install 时出错 Error: 404 Not Found: 7zip-bin@~4.1.0 - Error when I run npm install Error: 404 Not Found: 7zip-bin@~4.1.0 运行webpack-dev-server时如何解决Bootstrap错误? - How to fix Bootstrap error when I run webpack-dev-server? 当我尝试使用“npm i react-bootstrap”安装 React-Bootstrap 时,为什么会出现“无法读取未定义的属性‘长度’”错误? - Why am I getting a "Cannot read property 'length' of undefined" error when I try to install React-Bootstrap using "npm i react-bootstrap"? 当我运行“npm install”时,我的终端上出现此错误消息“npm ERR。Linux 5.4.72-microsoft-standard-WSL2” - I have this error message "npm ERR! Linux 5.4.72-microsoft-standard-WSL2" on my terminal when I run "npm install"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM