# Kibana@5.5.0 source npm run test

**URL:** <https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367>\
**Category:** Kibana\
**Created:** [August 1, 2017, 2:59pm UTC](https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367 "2017-08-01T14:59:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaopeng\_zhang](https://avatars.discourse-cdn.com/v4/letter/x/71e660/32.png) [@xiaopeng\_zhang](https://discuss.elastic.co/u/xiaopeng_zhang)\
**Post date:** [August 1, 2017, 2:59pm UTC](https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367/1 "2017-08-01T14:59:56Z")

</div>

after i follow the CONTRIBUTING.md ,and i use this bath : npm run test .I got some error  
[root@zk1 kibana]# npm run test

> kibana@5.5.0 test /home/ftpadmin/data/kibana  
> grunt test

Running "test" task

Running "eslint:source" (eslint) task

Running "licenses" task  
Fatal error: Non-conforming licenses:  
ua-parser-js  
version: 0.7.14  
all licenses: (GPL-2.0 OR MIT)  
invalid licenses: (GPL-2.0 OR MIT)  
path: node\_modules/ua-parser-js

npm ERR! Linux 3.10.0-514.26.2.el7.x86\_64  
npm ERR! argv "/root/.nvm/versions/node/v6.10.2/bin/node" "/root/.nvm/versions/node/v6.10.2/bin/npm" "run" "test"  
npm ERR! node v6.10.2  
npm ERR! npm v3.10.10  
npm ERR! code ELIFECYCLE  
npm ERR! kibana@5.5.0 test: `grunt test`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the kibana@5.5.0 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! /home/ftpadmin/data/kibana/npm-debug.log  
Does anybody have some suggestion? please

---

<div class="post-metadata">

**Author:** ![dsnider](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsnider/32/44068_2.png) [@dsnider](https://discuss.elastic.co/u/dsnider)\
**Post date:** [August 1, 2017, 4:30pm UTC](https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367/2 "2017-08-01T16:30:34Z")

</div>

@LeeDr might be able to help you here. I assume you ran `npm install` and didn't run into any errors?

---

<div class="post-metadata">

**Author:** ![xiaopeng\_zhang](https://avatars.discourse-cdn.com/v4/letter/x/71e660/32.png) [@xiaopeng\_zhang](https://discuss.elastic.co/u/xiaopeng_zhang)\
**Post date:** [August 2, 2017, 12:31am UTC](https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367/3 "2017-08-02T00:31:43Z")

</div>

when i use npm install  
[root@zk1 kibana]# npm install  
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node\_modules/chokidar/node\_modules/fsevents):  
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})  
npm WARN grunt-angular-translate@0.3.0 requires a peer of grunt@~0.4.0 but none was installed.  
and then i use npm i :  
[root@zk1 kibana]# npm i  
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node\_modules/chokidar/node\_modules/fsevents):  
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})  
npm WARN grunt-angular-translate@0.3.0 requires a peer of grunt@~0.4.0 but none was installed.  
it's same  
if i need npm install again?? or I just go to the ua-parser-js and download it

---

<div class="post-metadata">

**Author:** ![xiaopeng\_zhang](https://avatars.discourse-cdn.com/v4/letter/x/71e660/32.png) [@xiaopeng\_zhang](https://discuss.elastic.co/u/xiaopeng_zhang)\
**Post date:** [August 2, 2017, 12:40am UTC](https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367/4 "2017-08-02T00:40:05Z")

</div>

hey ,i found something ,in the package.json  
it tell it need ua-parser-js@0.7.13  
but the error is 0.7.14 ,Is it a version error?

I'm sorry for my bad English

---

<div class="post-metadata">

**Author:** ![xiaopeng\_zhang](https://avatars.discourse-cdn.com/v4/letter/x/71e660/32.png) [@xiaopeng\_zhang](https://discuss.elastic.co/u/xiaopeng_zhang)\
**Post date:** [August 2, 2017, 12:58am UTC](https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367/5 "2017-08-02T00:58:30Z")

</div>

emmmmm.  
i solve it by use the 0.7.13 replace 0.7.14.maybe it's beacuse i'm in china and the net is not well to use npm install so that leads to some problems  
thank you for your seggustion last nignt.  
sorry for my bad english again

---

<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 30, 2017, 12:58am UTC](https://discuss.elastic.co/t/kibana-5-5-0-source-npm-run-test/95367/6 "2017-08-30T00:58:35Z")

</div>

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