how to make kibana-plugin

#set kibana developement

root@min-HVM-domU:~# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.7.0-amd64.deb --2020-05-20 19:12:33-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.7.0-amd64.deb Resolving artifacts.elastic.co (artifacts.elastic.co)... 151.101.110.222, 2a04:4e42:36::734 접속 artifacts.elastic.co (artifacts.elastic.co)|151.101.110.222|:443... 접속됨. HTTP request sent, awaiting response... 200 OK Length: 314465174 (300M) [application/octet-stream] Saving to: ‘elasticsearch-7.7.0-amd64.deb’ elasticsearch-7.7.0-amd64.deb 0%[ ] 440.44K 72.3KB/s eta 63m 3s delasticsearch-7.7.0-amd64.deb 100%[=====================================================>] 299.90M 38.1MB/s in 3m 34s 2020-05-20 19:16:08 (1.40 MB/s) - ‘elasticsearch-7.7.0-amd64.deb’ saved [314465174/314465174] root@min-HVM-domU:~# dpkg -i elasticsearch-7.7.0-amd64.deb Selecting previously unselected package elasticsearch. (데이터베이스 읽는중 ...현재 173150개의 파일과 디렉터리가 설치되어 있습니다.) Preparing to unpack elasticsearch-7.7.0-amd64.deb ... Creating elasticsearch group... OK Creating elasticsearch user... OK Unpacking elasticsearch (7.7.0) ... elasticsearch (7.7.0) 설정하는 중입니다 ... Created elasticsearch keystore in /etc/elasticsearch/elasticsearch.keystore Processing triggers for systemd (237-3ubuntu10.38) ... Processing triggers for ureadahead (0.100.0-21) ... root@min-HVM-domU:~# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.7.0-amd64.deb --2020-05-20 19:17:12-- https://artifacts.elastic.co/downloads/kibana/kibana-7.7.0-amd64.deb Resolving artifacts.elastic.co (artifacts.elastic.co)... 151.101.230.222, 2a04:4e42:15::734 접속 artifacts.elastic.co (artifacts.elastic.co)|151.101.230.222|:443... 접속됨. HTTP request sent, awaiting response... 200 OK Length: 288746604 (275M) [application/octet-stream] Saving to: ‘kibana-7.7.0-amd64.deb’ kibana-7.7.0-amd64.deb 0%[ ] 770.12K 274KB/s skibana-7.7.0-amd64.deb 23%[===========> ] 64.08M 89.2KB/s eta 29m 57s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── root@min-HVM-domU:~# ls elasticsearch-7.7.0-amd64.deb kibana kibana-7.7.0-amd64.deb wget-log root@min-HVM-domU:~# sudo dpkg -i kibana-7.7.0-amd64.deb Selecting previously unselected package kibana. (데이터베이스 읽는중 ...현재 174171개의 파일과 디렉터리가 설치되어 있습니다.) Preparing to unpack kibana-7.7.0-amd64.deb ... Unpacking kibana (7.7.0) ... kibana (7.7.0) 설정하는 중입니다 ... Processing triggers for systemd (237-3ubuntu10.38) ... Processing triggers for ureadahead (0.100.0-21) ... root@min-HVM-domU:~# cd /usr/share/kibana/ bin/ node/ optimize/ src/ x-pack/ built_assets/ node_modules/ plugins/ webpackShims/ root@min-HVM-domU:~# cd /usr/share/kibana/





#set node 12.x

root@min-HVM-domU:~# curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update 기존:1 http://kr.archive.ubuntu.com/ubuntu bionic InRelease 받기:2 http://kr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 받기:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 받기:4 http://kr.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 받기:5 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [683 kB] 받기:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [40.6 kB] 받기:7 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [947 kB] 받기:8 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [322 kB] 받기:9 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [303 kB] 받기:10 http://kr.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [54.9 kB] 받기:11 http://kr.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [13.7 kB] 받기:12 http://kr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,017 kB] 받기:13 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [665 kB] 받기:14 http://kr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,075 kB] 받기:15 http://kr.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [334 kB] 받기:16 http://kr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [273 kB] 받기:17 http://kr.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B] 받기:18 http://kr.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,968 B] 받기:19 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [221 kB] 받기:20 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB] 받기:21 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B] 내려받기 6,257 k바이트, 소요시간 5초 (1,384 k바이트/초) 패키지 목록을 읽는 중입니다... 완료 ## Confirming "bionic" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/bionic/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x bionic main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_12.x bionic main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update 받기:1 https://deb.nodesource.com/node_12.x bionic InRelease [4,584 B] 받기:2 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages [765 B] 기존:3 http://security.ubuntu.com/ubuntu bionic-security InRelease 기존:4 http://kr.archive.ubuntu.com/ubuntu bionic InRelease 기존:5 http://kr.archive.ubuntu.com/ubuntu bionic-updates InRelease 기존:6 http://kr.archive.ubuntu.com/ubuntu bionic-backports InRelease 내려받기 5,349 바이트, 소요시간 1초 (4,303 바이트/초) 패키지 목록을 읽는 중입니다... 완료 ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn root@min-HVM-domU:~# apt -y install nodejs 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 다음의 추가 패키지가 설치될 것입니다 : libpython-stdlib python python-minimal python2.7 python2.7-minimal 제안하는 패키지: python-doc python-tk python2.7-doc binfmt-support 다음 새 패키지를 설치할 것입니다: libpython-stdlib nodejs python python-minimal python2.7 python2.7-minimal 0개 업그레이드, 6개 새로 설치, 0개 제거 및 79개 업그레이드 안 함. 18.2 M바이트/19.7 M바이트 아카이브를 받아야 합니다. 이 작업 후 95.0 M바이트의 디스크 공간을 더 사용하게 됩니다. 받기:1 https://deb.nodesource.com/node_12.x bionic/main amd64 nodejs amd64 12.16.3-1nodesource1 [18.0 MB] 받기:2 http://kr.archive.ubuntu.com/ubuntu bionic/main amd64 python-minimal amd64 2.7.15~rc1-1 [28.1 kB] 받기:3 http://kr.archive.ubuntu.com/ubuntu bionic/main amd64 libpython-stdlib amd64 2.7.15~rc1-1 [7,620 B] 받기:4 http://kr.archive.ubuntu.com/ubuntu bionic/main amd64 python amd64 2.7.15~rc1-1 [140 kB] 내려받기 18.2 M바이트, 소요시간 1초 (12.8 M바이트/초) Selecting previously unselected package python2.7-minimal. (데이터베이스 읽는중 ...현재 167319개의 파일과 디렉터리가 설치되어 있습니다.) Preparing to unpack .../python2.7-minimal_2.7.17-1~18.04ubuntu1_amd64.deb ... Unpacking python2.7-minimal (2.7.17-1~18.04ubuntu1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../python-minimal_2.7.15~rc1-1_amd64.deb ... Unpacking python-minimal (2.7.15~rc1-1) ... Selecting previously unselected package python2.7. Preparing to unpack .../python2.7_2.7.17-1~18.04ubuntu1_amd64.deb ... Unpacking python2.7 (2.7.17-1~18.04ubuntu1) ... Selecting previously unselected package libpython-stdlib:amd64. Preparing to unpack .../libpython-stdlib_2.7.15~rc1-1_amd64.deb ... Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ... python2.7-minimal (2.7.17-1~18.04ubuntu1) 설정하는 중입니다 ... Linking and byte-compiling packages for runtime python2.7... python-minimal (2.7.15~rc1-1) 설정하는 중입니다 ... Selecting previously unselected package python. (데이터베이스 읽는중 ...현재 167376개의 파일과 디렉터리가 설치되어 있습니다.) Preparing to unpack .../python_2.7.15~rc1-1_amd64.deb ... Unpacking python (2.7.15~rc1-1) ... Selecting previously unselected package nodejs. Preparing to unpack .../nodejs_12.16.3-1nodesource1_amd64.deb ... Unpacking nodejs (12.16.3-1nodesource1) ... nodejs (12.16.3-1nodesource1) 설정하는 중입니다 ... python2.7 (2.7.17-1~18.04ubuntu1) 설정하는 중입니다 ... libpython-stdlib:amd64 (2.7.15~rc1-1) 설정하는 중입니다 ... python (2.7.15~rc1-1) 설정하는 중입니다 ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for mime-support (3.60ubuntu1) ... root@min-HVM-domU:~# npm install -g yo generator-kibana-plugin npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated samsam@1.3.0: This package has been deprecated in favour of @sinonjs/samsam npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated samsam@1.1.2: This package has been deprecated in favour of @sinonjs/samsam npm WARN deprecated formatio@1.1.1: This package is unmaintained. Use @sinonjs/formatio instead npm WARN deprecated samsam@1.1.3: This package has been deprecated in favour of @sinonjs/samsam /usr/bin/yo -> /usr/lib/node_modules/yo/lib/cli.js /usr/bin/yo-complete -> /usr/lib/node_modules/yo/lib/completion/index.js > ejs@2.7.4 postinstall /usr/lib/node_modules/generator-kibana-plugin/node_modules/ejs > node ./postinstall.js Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/) > spawn-sync@1.0.15 postinstall /usr/lib/node_modules/generator-kibana-plugin/node_modules/spawn-sync > node postinstall > core-js@3.6.5 postinstall /usr/lib/node_modules/yo/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) > ejs@2.7.4 postinstall /usr/lib/node_modules/yo/node_modules/ejs > node ./postinstall.js Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/) > spawn-sync@1.0.15 postinstall /usr/lib/node_modules/yo/node_modules/spawn-sync > node postinstall > yo@3.1.1 postinstall /usr/lib/node_modules/yo > yodoctor Yeoman Doctor Running sanity checks on your system ✔ No .bowerrc file in home directory ✔ Global configuration file is valid ✔ NODE_PATH matches the npm root ✔ No .yo-rc.json file in home directory ✔ Node.js version ✔ npm version ✔ yo version Everything looks all right! npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"12.16.3","npm":"6.14.4"}) npm WARN notsup Not compatible with your version of node/npm: got@5.7.1 + yo@3.1.1 + generator-kibana-plugin@7.0.0 added 1554 packages from 843 contributors in 103.403s




#prepare kibana source

root@min-HVM-domU:~# git clone https://github.com/elastic/kibana.git 'kibana'에 복제합니다... remote: Enumerating objects: 33, done. remote: Counting objects: 100% (33/33), done. remote: Compressing objects: 100% (33/33), done. remote: Total 889110 (delta 6), reused 2 (delta 0), pack-reused 889077 오브젝트를 받는 중: 100% (889110/889110), 1.80 GiB | 16.09 MiB/s, 완료. 델타를 알아내는 중: 100% (535811/535811), 완료. 파일을 가져옵니다: 100% (28678/28678), 완료. root@min-HVM-domU:~# cd kibana/

#env yarn(with  No such file or directory: 'kbn' Error)

root@min-HVM-domU:~/kibana# yarn kbn bootstrap 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'kbn' root@min-HVM-domU:~/kibana# apt remove cmdtest 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다: python-chardet python-cliapp python-markdown python-pkg-resources python-pygments python-ttystatus python-yaml Use 'apt autoremove' to remove them. 다음 패키지를 지울 것입니다: cmdtest 0개 업그레이드, 0개 새로 설치, 1개 제거 및 68개 업그레이드 안 함. 이 작업 후 98.3 k바이트의 디스크 공간이 비워집니다. 계속 하시겠습니까? [Y/n] y (데이터베이스 읽는중 ...현재 338955개의 파일과 디렉터리가 설치되어 있습니다.) Removing cmdtest (0.32-1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... root@min-HVM-domU:~/kibana# apt remove yarn 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 주의, 'yarn' 대신에 'cmdtest' 패키지를 선택합니다 다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다: python-chardet python-cliapp python-markdown python-pkg-resources python-pygments python-ttystatus python-yaml Use 'apt autoremove' to remove them. 0개 업그레이드, 0개 새로 설치, 0개 제거 및 68개 업그레이드 안 함.

min@min-HVM-domU:~/kibana$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13527 100 13527 0 0 18108 0 --:--:-- --:--:-- --:--:-- 18108 => Downloading nvm from git to '/home/min/.nvm' => '/home/min/.nvm'에 복제합니다... remote: Enumerating objects: 290, done. remote: Counting objects: 100% (290/290), done. remote: Compressing objects: 100% (257/257), done. remote: Total 290 (delta 35), reused 97 (delta 20), pack-reused 0 오브젝트를 받는 중: 100% (290/290), 163.27 KiB | 421.00 KiB/s, 완료. 델타를 알아내는 중: 100% (35/35), 완료. => Compressing and cleaning up git repository => Appending nvm source string to /home/min/.bashrc => Appending bash_completion source string to /home/min/.bashrc N/A: version "10.19.0 -> N/A" is not yet installed. You need to run "nvm install 10.19.0" to install it before using it. => You currently have modules installed globally with `npm`. These will no => longer be linked to the active version of Node when you install a new node => with `nvm`; and they may (depending on how you construct your `$PATH`) => override the binaries of modules installed with `nvm`: /usr/lib ├── generator-kibana-plugin@7.0.0 ├── yarn@1.22.4 └── yo@3.1.1 => If you wish to uninstall them at a later point (or re-install them under your => `nvm` Nodes), you can remove them from the system Node as follows: $ nvm use system $ npm uninstall -g a_module => Close and reopen your terminal to start using nvm or run the following to use it now: export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion min@min-HVM-domU:~/kibana$

min@min-HVM-domU:~/kibana$ export NVM_DIR="$HOME/.nvm" min@min-HVM-domU:~/kibana$ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm N/A: version "10.19.0 -> N/A" is not yet installed. You need to run "nvm install 10.19.0" to install it before using it. min@min-HVM-domU:~/kibana$ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion min@min-HVM-domU:~/kibana$ nvm use Found '/home/min/kibana/.nvmrc' with version <10.19.0> N/A: version "10.19.0 -> N/A" is not yet installed. You need to run "nvm install 10.19.0" to install it before using it. min@min-HVM-domU:~/kibana$ nvm install 10.19.0 Downloading and installing node v10.19.0... Downloading https://nodejs.org/dist/v10.19.0/node-v10.19.0-linux-x64.tar.xz... ####################################################################################################################### 100.0% Computing checksum with sha256sum Checksums matched! Now using node v10.19.0 (npm v6.13.4) Creating default alias: default -> 10.19.0 (-> v10.19.0) min@min-HVM-domU:~/kibana$
min@min-HVM-domU:~/kibana$ nvm use Found '/home/min/kibana/.nvmrc' with version <10.19.0> Now using node v10.19.0 (npm v6.13.4) min@min-HVM-domU:~/kibana$


#env yarn(with  No such file or directory: 'kbn' Error)

root@min-HVM-domU:~/kibana# npm install -g yarn /root/.nvm/versions/node/v10.19.0/bin/yarn -> /root/.nvm/versions/node/v10.19.0/lib/node_modules/yarn/bin/yarn.js /root/.nvm/versions/node/v10.19.0/bin/yarnpkg -> /root/.nvm/versions/node/v10.19.0/lib/node_modules/yarn/bin/yarn.js

+ yarn@1.22.4
added 1 package in 1.112s


#set dependency

min@min-HVM-domU:~/kibana$ yarn kbn bootstrap yarn run v1.22.4 $ node scripts/kbn bootstrap Running [bootstrap] command from [/home/min/kibana]: Found [49] projects: kibana ├── packages │ ├── elastic-datemath (@elastic/datemath) │ ├── eslint-config-kibana (@elastic/eslint-config-kibana) │ ├── kbn-analytics (@kbn/analytics) │ ├── kbn-babel-code-parser (@kbn/babel-code-parser) │ ├── kbn-babel-preset (@kbn/babel-preset) │ ├── kbn-config-schema (@kbn/config-schema) │ ├── kbn-dev-utils (@kbn/dev-utils) │ ├── kbn-es (@kbn/es) │ ├── kbn-eslint-import-resolver-kibana (@kbn/eslint-import-resolver-kibana) │ ├── kbn-eslint-plugin-eslint (@kbn/eslint-plugin-eslint) │ ├── kbn-expect (@kbn/expect) │ ├── kbn-i18n (@kbn/i18n) │ ├── kbn-interpreter (@kbn/interpreter) │ ├── kbn-optimizer (@kbn/optimizer) │ ├── kbn-plugin-generator (@kbn/plugin-generator) │ ├── kbn-plugin-helpers (@kbn/plugin-helpers) │ ├── kbn-pm (@kbn/pm) │ ├── kbn-spec-to-console (spec-to-console) │ ├── kbn-storybook (@kbn/storybook) │ ├── kbn-test-subj-selector (@kbn/test-subj-selector) │ ├── kbn-test (@kbn/test) │ ├── kbn-ui-framework (@kbn/ui-framework) │ ├── kbn-ui-shared-deps (@kbn/ui-shared-deps) │ └── kbn-utility-types (@kbn/utility-types) ├── test │ ├── plugin_functional/plugins │ │ ├── core_app_status │ │ ├── core_plugin_a │ │ ├── core_plugin_appleave │ │ ├── core_plugin_b │ │ ├── core_plugin_chromeless │ │ ├── core_plugin_legacy │ │ ├── core_plugin_static_assets (corePluginStaticAssets) │ │ ├── core_provider_plugin │ │ ├── doc_views_plugin (docViewPlugin) │ │ ├── kbn_sample_panel_action │ │ ├── kbn_top_nav │ │ ├── kbn_tp_bfetch_explorer │ │ ├── kbn_tp_custom_visualizations │ │ ├── kbn_tp_embeddable_explorer │ │ ├── legacy_plugin │ │ ├── management_test_plugin │ │ ├── rendering_plugin │ │ └── ui_settings_plugin │ └── interpreter_functional/plugins/kbn_tp_run_pipeline └── x-pack (x-pack) ├── plugins │ ├── ingest_manager (ingest-manager) │ ├── ml │ └── siem └── test/functional_with_es_ssl/fixtures/plugins/alerts Running installs in topological order: Installing dependencies in [kibana]: $ node ./preinstall_check [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info fsevents@1.2.12: The platform "linux" is incompatible with this module. info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@2.1.2: The platform "linux" is incompatible with this module. info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. [4/5] Linking dependencies... warning "@kbn/analytics > @kbn/babel-preset > babel-plugin-styled-components@1.10.7" has unmet peer dependency "styled-components@>= 2". warning " > less-loader@5.0.0" has unmet peer dependency "less@^2.3.1 || ^3.0.0". warning " > grunt-karma@3.0.2" has incorrect peer dependency "karma@^3.0.0 || ^4.0.0". warning "workspace-aggregator-d4f8407f-2345-47c8-89c5-d39fa2660a54 > @kbn/storybook > styled-components@5.1.0" has unmet peer dependency "react-is@>= 16.8.0". warning "workspace-aggregator-d4f8407f-2345-47c8-89c5-d39fa2660a54 > x-pack > @elastic/apm-rum-react@1.1.1" has incorrect peer dependency "react-router-dom@^4.0.0". warning "workspace-aggregator-d4f8407f-2345-47c8-89c5-d39fa2660a54 > x-pack > react-shortcuts@2.0.1" has incorrect peer dependency "react@^0.14.8 || ^15". warning "workspace-aggregator-d4f8407f-2345-47c8-89c5-d39fa2660a54 > x-pack > react-shortcuts@2.0.1" has incorrect peer dependency "react-dom@^0.14.8 || ^15". [5/5] Building fresh packages... No dependency on spec-to-console, removing link in node_modules No dependency on x-pack, removing link in node_modules No dependency on ingest-manager, removing link in node_modules No dependency on ml, removing link in node_modules No dependency on siem, removing link in node_modules No dependency on core_app_status, removing link in node_modules No dependency on core_plugin_a, removing link in node_modules No dependency on core_plugin_appleave, removing link in node_modules No dependency on core_plugin_b, removing link in node_modules No dependency on core_plugin_chromeless, removing link in node_modules No dependency on core_plugin_legacy, removing link in node_modules No dependency on corePluginStaticAssets, removing link in node_modules No dependency on core_provider_plugin, removing link in node_modules No dependency on docViewPlugin, removing link in node_modules No dependency on kbn_sample_panel_action, removing link in node_modules No dependency on kbn_top_nav, removing link in node_modules No dependency on kbn_tp_bfetch_explorer, removing link in node_modules No dependency on kbn_tp_custom_visualizations, removing link in node_modules No dependency on kbn_tp_embeddable_explorer, removing link in node_modules No dependency on legacy_plugin, removing link in node_modules No dependency on management_test_plugin, removing link in node_modules No dependency on rendering_plugin, removing link in node_modules No dependency on ui_settings_plugin, removing link in node_modules No dependency on kbn_tp_run_pipeline, removing link in node_modules No dependency on alerts, removing link in node_modules No dependency on event_log_fixture, removing link in node_modules No dependency on sample_task_plugin, removing link in node_modules Skipping workspace project: @elastic/datemath Skipping workspace project: @elastic/eslint-config-kibana Skipping workspace project: @kbn/analytics Skipping workspace project: @kbn/babel-code-parser Skipping workspace project: @kbn/babel-preset Skipping workspace project: @kbn/config-schema Skipping workspace project: @kbn/dev-utils Skipping workspace project: @kbn/es Skipping workspace project: @kbn/eslint-import-resolver-kibana Skipping workspace project: @kbn/eslint-plugin-eslint Skipping workspace project: @kbn/expect Skipping workspace project: @kbn/i18n Skipping workspace project: @kbn/interpreter Skipping workspace project: @kbn/optimizer Skipping workspace project: @kbn/plugin-generator Skipping workspace project: @kbn/plugin-helpers Skipping workspace project: @kbn/pm Skipping workspace project: spec-to-console Skipping workspace project: @kbn/storybook Skipping workspace project: @kbn/test-subj-selector Skipping workspace project: @kbn/test Skipping workspace project: @kbn/ui-framework Skipping workspace project: @kbn/ui-shared-deps Skipping workspace project: @kbn/utility-types Skipping workspace project: core_app_status Skipping workspace project: core_plugin_a Skipping workspace project: core_plugin_appleave Skipping workspace project: core_plugin_b Skipping workspace project: core_plugin_chromeless Skipping workspace project: core_plugin_legacy Skipping workspace project: corePluginStaticAssets Skipping workspace project: core_provider_plugin Skipping workspace project: docViewPlugin Skipping workspace project: kbn_sample_panel_action Skipping workspace project: kbn_top_nav Skipping workspace project: kbn_tp_bfetch_explorer Skipping workspace project: kbn_tp_custom_visualizations Skipping workspace project: kbn_tp_embeddable_explorer Skipping workspace project: legacy_plugin Skipping workspace project: management_test_plugin Skipping workspace project: rendering_plugin Skipping workspace project: ui_settings_plugin Skipping workspace project: kbn_tp_run_pipeline Skipping workspace project: x-pack Skipping workspace project: ingest-manager Skipping workspace project: ml Skipping workspace project: siem Skipping workspace project: alerts Installs completed, linking package executables: [kbn_tp_custom_visualizations] plugin-helpers -> ../../../../packages/kbn-plugin-helpers/bin/plugin-helpers.js [kbn_tp_embeddable_explorer] plugin-helpers -> ../../../../packages/kbn-plugin-helpers/bin/plugin-helpers.js [kbn_tp_run_pipeline] plugin-helpers -> ../../../../packages/kbn-plugin-helpers/bin/plugin-helpers.js [x-pack] plugin-helpers -> ../packages/kbn-plugin-helpers/bin/plugin-helpers.js Linking executables completed, running `kbn:bootstrap` scripts @elastic/datemath: $ yarn build --quiet @kbn/config-schema: $ yarn build @kbn/plugin-helpers: $ tsc @kbn/utility-types: $ tsc @elastic/datemath: $ babel src --out-dir target --copy-files --quiet @kbn/config-schema: $ tsc @kbn/dev-utils: $ yarn build @kbn/babel-code-parser: $ yarn build --quiet @kbn/babel-code-parser: $ babel src --out-dir target --quiet @kbn/dev-utils: $ tsc @kbn/analytics: $ node scripts/build --source-maps @kbn/test: $ yarn build @kbn/i18n: $ node scripts/build --source-maps @kbn/test: $ babel src --out-dir target --delete-dir-on-start --extensions .ts,.js,.tsx --ignore *.test.js,**/__tests__/** --source-maps=inline @kbn/analytics: info Deleting old output @kbn/analytics: info Starting babel and typescript @kbn/analytics: info [babel:web ] > babel src --config-file /home/min/kibana/packages/kbn-analytics/babel.config.js --out-dir /home/min/kibana/packages/kbn-analytics/target/web --extensions .ts,.js,.tsx --quiet --source-maps inline @kbn/analytics: info [babel:node] > babel src --config-file /home/min/kibana/packages/kbn-analytics/babel.config.js --out-dir /home/min/kibana/packages/kbn-analytics/target/node --extensions .ts,.js,.tsx --quiet --source-maps inline @kbn/analytics: info [tsc ] > tsc --emitDeclarationOnly --declarationMap true @kbn/i18n: info Deleting old output @kbn/i18n: info Starting babel and typescript @kbn/i18n: info [babel:web ] > babel src --config-file /home/min/kibana/packages/kbn-i18n/babel.config.js --out-dir /home/min/kibana/packages/kbn-i18n/target/web --extensions .ts,.js,.tsx --quiet --source-maps inline @kbn/i18n: info [babel:node] > babel src --config-file /home/min/kibana/packages/kbn-i18n/babel.config.js --out-dir /home/min/kibana/packages/kbn-i18n/target/node --extensions .ts,.js,.tsx --quiet --source-maps inline @kbn/i18n: info [tsc ] > tsc --emitDeclarationOnly --declarationMap true @kbn/analytics: info [babel:node] exited with 0 after a few seconds @kbn/analytics: info [babel:web ] exited with 0 after a few seconds @kbn/i18n: info [babel:node] exited with 0 after a few seconds @kbn/i18n: info [babel:web ] exited with 0 after a few seconds @kbn/test: Successfully compiled 84 files with Babel. @kbn/analytics: info [tsc ] exited with 0 after a few seconds @kbn/analytics: succ Complete @kbn/i18n: info [tsc ] exited with 0 after a few seconds @kbn/i18n: succ Complete @kbn/interpreter: $ node scripts/build --dev @kbn/ui-shared-deps: $ node scripts/build --dev @kbn/interpreter: info Deleting old output @kbn/interpreter: info Starting babel @kbn/interpreter: info [babel ] > babel src --ignore *.test.js --out-dir target --copy-files --source-maps inline --quiet @kbn/ui-shared-deps: info cleaning previous build output @kbn/interpreter: info [babel ] exited with 0 after a few seconds @kbn/interpreter: succ Complete @kbn/ui-shared-deps: succ webpack completed in about 37 seconds @kbn/optimizer: $ yarn build x-pack: $ node plugins/canvas/scripts/storybook --clean @kbn/optimizer: $ babel src --out-dir target --copy-files --delete-dir-on-start --extensions .ts --ignore *.test.ts --source-maps=inline @kbn/optimizer: Successfully compiled 69 files with Babel. kibana: $ node scripts/register_git_hook kibana: info Registering Kibana pre-commit git hook... kibana: succ Kibana pre-commit git hook was installed successfully. Bootstrapping completed! Done in 1068.25s.






댓글

이 블로그의 인기 게시물

error You have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment.

linux mint install xrdp

centos 6.x yum update problem making ssl connection