# Official Kibana Plugin Demo

**URL:** <https://discuss.elastic.co/t/official-kibana-plugin-demo/124898>\
**Category:** Kibana\
**Created:** [March 21, 2018, 3:39am UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898 "2018-03-21T03:39:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pororo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pororo/32/27711_2.png) [@Pororo](https://discuss.elastic.co/u/Pororo)\
**Post date:** [March 21, 2018, 3:39am UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898/1 "2018-03-21T03:39:17Z")

</div>

Hi, I went through the official demo of Kibana hello world plugin. Everything is good except when I run the command"npm start", it shows

```
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! demo@0.0.0 start: `plugin-helpers start`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the demo@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

```

But when I actually run the kibana, the plugin I just made was shown on the side bar and it looked fine.

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [March 21, 2018, 10:37am UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898/2 "2018-03-21T10:37:48Z")

</div>

Hi,

there should be a bit more log above that, that should provide additional information on what's going wrong. Could you please paste the full log output?

Cheers,  
Tim

---

<div class="post-metadata">

**Author:** ![Pororo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pororo/32/27711_2.png) [@Pororo](https://discuss.elastic.co/u/Pororo)\
**Post date:** [March 21, 2018, 2:44pm UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898/3 "2018-03-21T14:44:39Z")

</div>

Sure.

```
> demo@0.0.0 start /Users/apple/Desktop/kibana-6.2.2-darwin-x86_64/plugins/demo
> plugin-helpers start

child_process.js:624
    throw err;
    ^

Error: spawnSync node ENOENT
    at _errnoException (util.js:1022:11)
    at spawnSync (child_process.js:579:20)
    at execFileSync (child_process.js:616:13)
    at module.exports (/Users/apple/Desktop/kibana-6.2.2-darwin-x86_64/plugins/demo/node_modules/@elastic/plugin-helpers/tasks/start/start_action.js:24:3)
    at run (/Users/apple/Desktop/kibana-6.2.2-darwin-x86_64/plugins/demo/node_modules/@elastic/plugin-helpers/lib/run.js:9:10)
    at /Users/apple/Desktop/kibana-6.2.2-darwin-x86_64/plugins/demo/node_modules/@elastic/plugin-helpers/cli.js:25:7
    at Command.actionWrapper (/Users/apple/Desktop/kibana-6.2.2-darwin-x86_64/plugins/demo/node_modules/@elastic/plugin-helpers/cli.js:12:8)
    at Command.listener (/Users/apple/Desktop/kibana-6.2.2-darwin-x86_64/plugins/demo/node_modules/commander/index.js:315:8)
    at emitTwo (events.js:126:13)
    at Command.emit (events.js:214:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! demo@0.0.0 start: `plugin-helpers start`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the demo@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/apple/.npm/_logs/2018-03-21T14_44_08_043Z-debug.log
```

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [March 21, 2018, 4:18pm UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898/4 "2018-03-21T16:18:54Z")

</div>

@spalger any ideas?

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [March 21, 2018, 5:58pm UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898/5 "2018-03-21T17:58:25Z")

</div>

Looks like the plugin helpers are unable to spawn node.js with the name `node`. What OS are you on? How did you install node.js?

---

<div class="post-metadata">

**Author:** ![Pororo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pororo/32/27711_2.png) [@Pororo](https://discuss.elastic.co/u/Pororo)\
**Post date:** [March 22, 2018, 1:36am UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898/6 "2018-03-22T01:36:28Z")

</div>

Mac OS X, and I just followed the instruction of the package which I downloaded from the official website to install node.js.

---

<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:** [April 19, 2018, 1:36am UTC](https://discuss.elastic.co/t/official-kibana-plugin-demo/124898/7 "2018-04-19T01:36:52Z")

</div>

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