# Kibana, npm run test, failed without even touch the code

**URL:** <https://discuss.elastic.co/t/kibana-npm-run-test-failed-without-even-touch-the-code/89446>\
**Category:** Kibana\
**Created:** [June 14, 2017, 7:15pm UTC](https://discuss.elastic.co/t/kibana-npm-run-test-failed-without-even-touch-the-code/89446 "2017-06-14T19:15:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ytzlax](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ytzlax/32/34754_2.png) [@ytzlax](https://discuss.elastic.co/u/ytzlax)\
**Post date:** [June 14, 2017, 7:15pm UTC](https://discuss.elastic.co/t/kibana-npm-run-test-failed-without-even-touch-the-code/89446/1 "2017-06-14T19:15:13Z")

</div>

Hi,  
I cloned kibana by git, then run npm install, then run npm run test, without even touch the code  
I got the next error:

Aborted due to warnings.

npm ERR! Windows\_NT 6.1.7601  
npm ERR! argv "O:\Program Files\nodejs\node.exe" "O:\Program Files\nodejs\node\_modules\npm\bin\npm-cli.js" "run  
" "test"  
npm ERR! node v6.7.0  
npm ERR! npm v3.10.3  
npm ERR! code ELIFECYCLE  
npm ERR! kibana@6.0.0-alpha3 test: `grunt test`  
npm ERR! Exit status 3  
npm ERR!  
npm ERR! Failed at the kibana@6.0.0-alpha3 test script 'grunt test'.  
npm ERR! Make sure you have the latest version of node.js and npm installed.  
npm ERR! If you do, this is most likely a problem with the kibana package,  
npm ERR! not with npm itself.  
npm ERR! Tell the author that this fails on your system:  
npm ERR! grunt test  
npm ERR! You can get information on how to open an issue for this project with:  
npm ERR! npm bugs kibana  
npm ERR! Or if that isn't available, you can get their info via:  
npm ERR! npm owner ls kibana  
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:  
npm ERR! D:\kibana\npm-debug.log

Someone can help?

---

<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:** [June 14, 2017, 7:40pm UTC](https://discuss.elastic.co/t/kibana-npm-run-test-failed-without-even-touch-the-code/89446/2 "2017-06-14T19:40:52Z")

</div>

Can you please share the complete command output? The part that you included is just the default `npm` error messaging

---

<div class="post-metadata">

**Author:** ![ytzlax](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ytzlax/32/34754_2.png) [@ytzlax](https://discuss.elastic.co/u/ytzlax)\
**Post date:** [June 18, 2017, 1:00pm UTC](https://discuss.elastic.co/t/kibana-npm-run-test-failed-without-even-touch-the-code/89446/3 "2017-06-18T13:00:45Z")

</div>

I typed npm run test:quick, and got the next message:

PS C:\Users\Itzhak\Documents\elk\_dev\pullRequest\kibana\> npm run test:quick

> kibana@5.6.0 test:quick C:\Users\Itzhak\Documents\elk\_dev\pullRequest\kibana  
> grunt test:quick

Running "checkPlugins" task

Running "esvm:test" (esvm) task  
starting up "test" cluster  
INFO - - cluster - Downloading & installing from "5.x" branch.  
INFO - - cluster - Installing plugins  
INFO - - cluster - Purging C:\Users\Itzhak\Documents\elk\_dev\pullRequest\kibana\esvm\test\branch-5.x\data  
INFO - - cluster - Starting 1 nodes  
Warning: Cannot read property 'split' of undefined Use --force to continue.

Aborted due to warnings.

npm ERR! Windows\_NT 6.1.7601  
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Itzhak\AppData\Roaming\npm\node\_modules\npm\bin\n  
pm-cli.js" "run" "test:quick"  
npm ERR! node v6.10.2  
npm ERR! npm v3.10.8  
npm ERR! code ELIFECYCLE  
npm ERR! kibana@5.6.0 test:quick: `grunt test:quick`  
npm ERR! Exit status 3  
npm ERR!  
npm ERR! Failed at the kibana@5.6.0 test:quick script 'grunt test:quick'.  
npm ERR! Make sure you have the latest version of node.js and npm installed.  
npm ERR! If you do, this is most likely a problem with the kibana package,  
npm ERR! not with npm itself.  
npm ERR! Tell the author that this fails on your system:  
npm ERR! grunt test:quick  
npm ERR! You can get information on how to open an issue for this project with:  
npm ERR! npm bugs kibana  
npm ERR! Or if that isn't available, you can get their info via:  
npm ERR! npm owner ls kibana  
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:  
npm ERR! C:\Users\Itzhak\Documents\elk\_dev\pullRequest\kibana\npm-debug.log

---

<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:** [July 16, 2017, 1:01pm UTC](https://discuss.elastic.co/t/kibana-npm-run-test-failed-without-even-touch-the-code/89446/4 "2017-07-16T13:01:04Z")

</div>

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