# \_chrome2.default.getNavLinks is not a function

**URL:** <https://discuss.elastic.co/t/-chrome2-default-getnavlinks-is-not-a-function/94481>\
**Category:** Kibana\
**Created:** [July 25, 2017, 1:16pm UTC](https://discuss.elastic.co/t/-chrome2-default-getnavlinks-is-not-a-function/94481 "2017-07-25T13:16:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![whoami](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@whoami](https://discuss.elastic.co/u/whoami)\
**Post date:** [July 25, 2017, 1:16pm UTC](https://discuss.elastic.co/t/-chrome2-default-getnavlinks-is-not-a-function/94481/1 "2017-07-25T13:16:20Z")

</div>

hi experts:

I meet a problem with `_chrome2.default.getNavLinks is not a function`

i am doing something on kibana, its hard to describe, but could you provide any possible reasons about this erorr ? (I even don't know how to debug this problem)

thanks very much!

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [July 25, 2017, 9:32pm UTC](https://discuss.elastic.co/t/-chrome2-default-getnavlinks-is-not-a-function/94481/2 "2017-07-25T21:32:00Z")

</div>

How are you importing chrome?

It should looking something like:

```auto
import chrome from 'ui/chrome';
const links = chrome.getNavLinks();

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 22, 2017, 9:32pm UTC](https://discuss.elastic.co/t/-chrome2-default-getnavlinks-is-not-a-function/94481/3 "2017-08-22T21:32:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
