Closed nimaansary closed 4 years ago
Hi @nimaansary,
I'd try to follow contributing guide: https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md.
yarn install
is not part of the process, yarn kbn bootstrap
should be used instead.
Though I doubt it is related to the error you see. Looks like a local issue.
Pinging @elastic/kibana-operations (Team:Operations)
@Dosant yes, i tried that too, but give me same error
user@user:~/Desktop/Sources/kibana/kibana$ yarn kbn bootstrap
yarn run v1.16.0
$ node scripts/kbn bootstrap
Running [bootstrap] command from [/home/user/Desktop/Sources/kibana/kibana]:
Found [35] projects:
kibana
├── packages
│ ├── elastic-datemath (@elastic/datemath)
│ ├── eslint-config-kibana (@elastic/eslint-config-kibana)
│ ├── 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-elastic-idx (@kbn/elastic-idx)
│ ├── kbn-es-query (@kbn/es-query)
│ ├── 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-maki (@kbn/maki)
│ ├── kbn-plugin-generator (@kbn/plugin-generator)
│ ├── kbn-plugin-helpers (@kbn/plugin-helpers)
│ ├── kbn-pm (@kbn/pm)
│ ├── kbn-spec-to-console (spec-to-console)
│ ├── kbn-test-subj-selector (@kbn/test-subj-selector)
│ ├── kbn-test (@kbn/test)
│ └── kbn-ui-framework (@kbn/ui-framework)
├── test
│ ├── plugin_functional/plugins
│ │ ├── core_plugin_a
│ │ ├── core_plugin_b
│ │ ├── kbn_tp_custom_visualizations
│ │ ├── kbn_tp_embeddable_explorer
│ │ ├── kbn_tp_sample_app_plugin
│ │ ├── kbn_tp_sample_panel_action
│ │ └── kbn_tp_visualize_embedding
│ └── interpreter_functional/plugins/kbn_tp_run_pipeline
├── x-pack (x-pack)
│ └── legacy/plugins
│ ├── infra
│ └── siem
└── plugins/kibana-time-plugin-master (kibana-time-plugin)
Running installs in topological order:
Installing dependencies in [kibana]:
$ node ./preinstall_check
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "@types/node@10.12.27" is incompatible with requested version "@types/node@8.5.8"
warning Resolution field "@types/node@10.12.27" is incompatible with requested version "@types/node@8.5.8"
warning Resolution field "@types/node@10.12.27" is incompatible with requested version "@types/node@8.5.8"
warning Resolution field "@types/node@10.12.27" is incompatible with requested version "@types/node@8.5.8"
warning Resolution field "lodash@4.17.13" is incompatible with requested version "lodash@4.17.11"
warning Resolution field "@types/node@10.12.27" is incompatible with requested version "@types/node@^12.0.2"
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/@types/hapi/-/hapi-17.0.18.tgz: tunneling socket could not be established, statusCode=503".
info If you think this is a bug, please open a bug report with the information provided in "/home/user/Desktop/Sources/kibana/kibana/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[bootstrap] failed:
Error: Command failed: yarn install --non-interactive
at makeError (/home/user/Desktop/Sources/kibana/kibana/packages/kbn-pm/dist/index.js:14149:9)
at Promise.all.then.arr (/home/user/Desktop/Sources/kibana/kibana/packages/kbn-pm/dist/index.js:14253:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@nimaansary could u try to use yarn 1.21.1
please?
Are you on any sort of restricted network? Can you access https://registry.yarnpkg.com/@types/hapi/-/hapi-17.0.18.tgz
directly?
Closing as this appears to have been a network related issue.
Hi there i run
yarn cache clean
and then I want to runyarn install
but I take this error:i also tried
`yarn kbn bootstrap`
but same error occured!My yarn config list:
what is problem? my network is connected and I test it in several ways.