Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change incorrect "--no-basepath" flag to "--no-base-path" in the developer documentation #78561

Closed
andrzejgulak opened this issue Sep 27, 2020 · 2 comments · Fixed by #78570
Closed
Assignees
Labels
docs Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@andrzejgulak
Copy link

andrzejgulak commented Sep 27, 2020

Kibana version: 7.9.1

Original install method (e.g. download page, yum, from source, etc.): source

Describe the bug:
Upon trying to start with yarn start --no-basepath as per documentation I'm greeted with an error:

ERROR Extra serve options "--no-basepath" must have a value

Steps to reproduce:

  1. clone repo & checkout v7.9.1
  2. yarn kbn bootstrap
  3. yarn start --no-basepath

Expected behavior:
Start's kibana in dev mode without a random app prefix as per documentation

Provide logs and/or server output (if relevant):

ERROR Extra serve options "--no-basepath" must have a value

Any additional context:
Using node 10.22.0
Tried running with:

yarn start --no-basepath=true

only to be greeted with:

log [13:58:24.918] [fatal][root] { Error: Unknown configuration key(s): "no-basepath". Check for spelling errors and ensure that expected plugins are installed.
at ensureValidConfiguration (private/kibana/src/core/server/legacy/config/ensure_valid_configuration.ts:41:11) code: 'InvalidConfig', processExitCode: 64, cause: undefined }

FATAL Error: Unknown configuration key(s): "no-basepath". Check for spelling errors and ensure that expected plugins are installed.

error Command failed with exit code 64.

@azasypkin azasypkin changed the title "--no-basepath" flag not working Change incorrect "--no-basepath" flag to "--no-base-path" in the developer documentation Sep 28, 2020
@azasypkin azasypkin added docs Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Sep 28, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@azasypkin
Copy link
Member

Hey @andrzejgulak ,

Thanks for reporting, it seems to be a typo in our dev docs, the correct option is --no-base-path. Can you please try that?

I re-titled and tagged this issue to fix this documentation typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
4 participants