* Update the slugs to improve google analytics drilldown tracking * more slug updates * Fix some formatting issues in building blocks * update paths Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # dev_docs/key_concepts/persistable_state.mdx # legacy_rfcs/README.md
29 lines
919 B
Plaintext
29 lines
919 B
Plaintext
---
|
|
id: kibTroubleshooting
|
|
slug: /kibana-dev-docs/getting-started/troubleshooting
|
|
title: Troubleshooting
|
|
summary: A collection of tips for working around strange issues.
|
|
date: 2021-09-08
|
|
tags: ['kibana', 'onboarding', 'dev', 'troubleshooting']
|
|
---
|
|
|
|
### Typescript issues
|
|
|
|
When switching branches, sometimes the TypeScript cache can get mixed up and show some invalid errors. If you run into TypeScript issues (invalid errors, or if it's taking too long to build types), here a few things to try.
|
|
|
|
1. Build TypeScript references with the clean command.
|
|
|
|
```
|
|
node scripts/build_ts_refs --clean
|
|
```
|
|
|
|
2. Restore your repository to a totally fresh state by running `git clean`
|
|
|
|
```
|
|
# dry-run the clean to see what will be deleted
|
|
git clean -fdxn -e /config -e /.vscode
|
|
|
|
# review the files which will be deleted, consider adding some more excludes (-e)
|
|
# re-run without the dry-run (-n) flag to actually delete the files
|
|
```
|