# Contributing guide instructions in master branch don't work

**URL:** <https://discuss.elastic.co/t/contributing-guide-instructions-in-master-branch-dont-work/155374>\
**Category:** Kibana\
**Created:** [November 5, 2018, 9:38am UTC](https://discuss.elastic.co/t/contributing-guide-instructions-in-master-branch-dont-work/155374 "2018-11-05T09:38:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![trex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trex/32/34230_2.png) [@trex](https://discuss.elastic.co/u/trex)\
**Post date:** [November 5, 2018, 9:38am UTC](https://discuss.elastic.co/t/contributing-guide-instructions-in-master-branch-dont-work/155374/1 "2018-11-05T09:38:01Z")

</div>

_NodeJS 8.11.4_, _[https://github.com/elastic/kibana.git](https://github.com/elastic/kibana.git)_, _tag v6.4.2_

I follow [the contribution guide](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#contributing-code) and do

```auto
git clone https://github.com/elastic/kibana.git
cd kibana
git checkout v6.4.2
yarn kbn bootstrap

```

and get

```auto
yarn run v1.9.4
$ node scripts/kbn bootstrap
Running [bootstrap] command from [/media/trex/safe1/Development/siren/kibana_6_4]:

[bootstrap] failed:

CliError: [test_plugin] depends on [@elastic/eslint-config-kibana] using
'link:', but the path is wrong. Update its package.json to the expected value
below.

Additional debugging info:

   actual: "@elastic/eslint-config-kibana": "link:../../kibana/packages/eslint-config-kibana"
   expected: "@elastic/eslint-config-kibana": "link:../../kibana_6_4/packages/eslint-config-kibana"
   package: test_plugin (/media/trex/safe1/Development/siren/kibana-extra/test_plugin/package.json)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```

Also, I tried to clean all this `yarn kbn clean` and got the same error.

I tried it before and it worked. Why doesn't it work now? How to fix it?

---

<div class="post-metadata">

**Author:** ![trex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trex/32/34230_2.png) [@trex](https://discuss.elastic.co/u/trex)\
**Post date:** [November 5, 2018, 9:51am UTC](https://discuss.elastic.co/t/contributing-guide-instructions-in-master-branch-dont-work/155374/2 "2018-11-05T09:51:57Z")

</div>

Strange, I deleted everything inside `node_modules` and `optimize/bundles` and got the same error. But now it works after I deleted `kibana` folder and cloned it again. Why?

---

<div class="post-metadata">

**Author:** ![trex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trex/32/34230_2.png) [@trex](https://discuss.elastic.co/u/trex)\
**Post date:** [November 5, 2018, 9:56am UTC](https://discuss.elastic.co/t/contributing-guide-instructions-in-master-branch-dont-work/155374/3 "2018-11-05T09:56:40Z")

</div>

New problem related to the [contribution guide](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#running-kibana-in-open-source-mode), now I can't run ES

```auto
trex@cave:~/Development/kibana$ yarn es snapshot --license oss
yarn run v1.9.4
$ node scripts/es snapshot --license oss
 info Installing from snapshot
   │ info version: 6.4.2
   │ info install path: /media/trex/safe1/Development/siren/kibana/.es/6.4.2
   │ info license: oss
   │ info downloading from https://snapshots.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.4.2-SNAPSHOT.tar.gz
   │ERROR Unhandled error
   │ERROR Error: Not Found
   │ at Promise (/media/trex/safe1/Development/siren/kibana/packages/kbn-es/src/install/snapshot.js:92:25)
   │ at new Promise (<anonymous>)
   │ at fetch.then.res (/media/trex/safe1/Development/siren/kibana/packages/kbn-es/src/install/snapshot.js:85:7)
   │ at <anonymous>
   │ at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [November 5, 2018, 2:47pm UTC](https://discuss.elastic.co/t/contributing-guide-instructions-in-master-branch-dont-work/155374/4 "2018-11-05T14:47:24Z")

</div>

Hello,

You could try doing an `rm -rf ./node_modules` in your `.es` directory. After that, do a `yarn install` in the .`./es` directory. When it's finished, try running the snapshot again.

I'm not sure what's causing the specific issue in your case but this may clear it up!

-Aaron

---

<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:** [December 3, 2018, 2:47pm UTC](https://discuss.elastic.co/t/contributing-guide-instructions-in-master-branch-dont-work/155374/5 "2018-12-03T14:47:24Z")

</div>

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