# Kibana not working in Dev mode in Windows 10

**URL:** <https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082>\
**Category:** Kibana\
**Created:** [June 8, 2018, 5:19am UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082 "2018-06-08T05:19:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamdullah](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hamdullah](https://discuss.elastic.co/u/Hamdullah)\
**Post date:** [June 8, 2018, 5:19am UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/1 "2018-06-08T05:19:12Z")

</div>

Hello,

I want to start kibana 6.1 in dev mode but getting error of missing commons.bundle.js (404) , commons.style.css(404) and kibana.bundle.js files.

Steps to reproduce:

1. Clone 6.1 branch from github
2. Run command npm install
3. Run command npm run elasticsearch
4. Run command npm start

The server started(took lots of time by the way) but when I try access

[http://localhost:5603/kibana/app/kibana](http://localhost:5603/kibana/app/kibana)  
It says "{"statusCode":404,"error":"Not Found","message":"Not Found"}"

[http://localhost:5603/app/kibana](http://localhost:5603/app/kibana)

It says "kibana did not load properly. Check the server output for more information"

I have checked the server logs which is:  
"{"type":"response","@timestamp":"2018-06-08T05:16:47Z","tags":[],"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/ui/favicons/favicon-16x16.png","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"image/webp,image/apng,image/_,_/_;q=0.8","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":2,"contentLength":9},"message":"GET](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:2,%22contentLength%22:9%7D,%22message%22:%22GET) /kibana/ui/favicons/favicon-16x16.png 404 2ms - 9.0B"}  
{"type":"response","@timestamp":"2018-06-08T05:16:47Z","tags":[],"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/ui/favicons/favicon.ico","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"image/webp,image/apng,image/_,_/_;q=0.8","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":3,"contentLength":9},"message":"GET](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:3,%22contentLength%22:9%7D,%22message%22:%22GET) /kibana/ui/favicons/favicon.ico 404 3ms - 9.0B"}  
{"type":"response","@timestamp":"2018-06-08T05:16:49Z","tags":[],"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/bundles/commons.style.css?v=8467","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"text/css,_/_;q=0.1","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":3,"contentLength":9},"message":"GET](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:3,%22contentLength%22:9%7D,%22message%22:%22GET) /kibana/bundles/commons.style.css?v=8467 404 3ms - 9.0B"}  
{"type":"response","@timestamp":"2018-06-08T05:16:49Z","tags":[],"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/bundles/kibana.style.css?v=8467","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"text/css,_/_;q=0.1","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":3,"contentLength":9},"message":"GET](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:3,%22contentLength%22:9%7D,%22message%22:%22GET) /kibana/bundles/kibana.style.css?v=8467 404 3ms - 9.0B"}  
{"type":"response","@timestamp":"2018-06-08T05:16:52Z","tags":[],"pid":4508,"method":"get","statusCode":200,"req":{"url":"/app/kibana","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,_/_;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1"},"res":{"statusCode":200,"responseTime":89,"contentLength":9},"message":"GET /app/kibana 200 89ms - 9.0B"}  
{"type":"response","@timestamp":"2018-06-08T05:16:53Z","tags":[],"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/bundles/commons.style.css?v=8467","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"text/css,_/_;q=0.1","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":2,"contentLength":9},"message":"GET](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:2,%22contentLength%22:9%7D,%22message%22:%22GET) /kibana/bundles/commons.style.css?v=8467 404 2ms - 9.0B"}  
{"type":"response","@timestamp":"2018-06-08T05:16:53Z","tags":[],"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/bundles/kibana.style.css?v=8467","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"text/css,_/_;q=0.1","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":2,"contentLength":9},"message":"GET](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:2,%22contentLength%22:9%7D,%22message%22:%22GET) /kibana/bundles/kibana.style.css?v=8467 404 2ms - 9.0B"}  
{"type":"response","@timestamp":"2018-06-08T05:16:53Z","tags":[],"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/bundles/commons.bundle.js?v=8467","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"_/_","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":1,"contentLength":9},"message":"GET](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:1,%22contentLength%22:9%7D,%22message%22:%22GET) /kibana/bundles/commons.bundle.js?v=8467 404 1ms - 9.0B"}

"

Could you please why is that?

Regards,  
Hamdullah

---

<div class="post-metadata">

**Author:** ![Paraponera](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@Paraponera](https://discuss.elastic.co/u/Paraponera)\
**Post date:** [June 8, 2018, 12:10pm UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/2 "2018-06-08T12:10:39Z")

</div>

Hi,

What does both consoles print when you run

> npm run elasticsearch

and

> npm start

?

---

<div class="post-metadata">

**Author:** ![Hamdullah](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hamdullah](https://discuss.elastic.co/u/Hamdullah)\
**Post date:** [June 8, 2018, 7:49pm UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/3 "2018-06-08T19:49:44Z")

</div>

"{"type":"response","@timestamp":"2018-06-08T05:16:47Z","tags":,"pid":4508,"method":"get","statusCode":404,"req":{"url":"/kibana/ui/favicons/favicon-16x16.png","method":"get","headers":{"host":"localhost:5603","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","accept":"image/webp,image/apng,image/,/;q=0.8","referer":"[http://localhost:5603/app/kibana","accept-encoding":"gzip](http://localhost:5603/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"[http://localhost:5603/app/kibana"},"res":{"statusCode":404,"responseTime":2,"contentLength":9},"message](http://localhost:5603/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:2,%22contentLength%22:9%7D,%22message)"

These are the logs; I have run npm start command again, it has been 8 hours since I had run the command; but logs still shows restarting server due to changes ....

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/7/6770b7fdd3fd1a8d4cc856728be1927fafc273c3.png)

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [June 8, 2018, 10:44pm UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/4 "2018-06-08T22:44:19Z")

</div>

Kibana web server runs on port `5601`, try accessing: [http://localhost:5601/](http://localhost:5601/)

Also verify that your `node -v` is correct. It should be `6.14.0` for Kibana 6.1: [https://github.com/elastic/kibana/blob/6.1/.node-version](https://github.com/elastic/kibana/blob/6.1/.node-version)

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [June 8, 2018, 10:48pm UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/5 "2018-06-08T22:48:46Z")

</div>

Also, I see that you have `x-pack` file references in the second screenshot. `x-pack` is not part of open source Kibana in 6.1 ([read more here](https://www.elastic.co/products/x-pack/open)). Did you forget to checkout the 6.1 branch after cloning the repo?

`git clone https://github.com/[YOUR_USERNAME]/kibana.git kibana`  
`git checkout 6.1`

---

<div class="post-metadata">

**Author:** ![Hamdullah](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hamdullah](https://discuss.elastic.co/u/Hamdullah)\
**Post date:** [June 9, 2018, 11:48am UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/6 "2018-06-09T11:48:42Z")

</div>

Hello, jen-huang

Actually I had check out 6.1 earlier but it was not working; then I tried checking out the master branch and use yarn instead of npm here the steps I performed:

1. git clone [https://github.com/[YOUR\_USERNAME]/kibana.git](https://github.com/%5BYOUR_USERNAME%5D/kibana.git) kibana  
cd kibana

2. yarn kbn bootstrap

3. yarn es snapshot

4. yarn start

But it is taking too long ( 16 hours so far) to start the kibana 7.1 server; the logs keeps showing restarting server due to changes

Regards,  
Hamdullah

---

<div class="post-metadata">

**Author:** ![Hamdullah](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hamdullah](https://discuss.elastic.co/u/Hamdullah)\
**Post date:** [June 9, 2018, 12:47pm UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/7 "2018-06-09T12:47:22Z")

</div>

Alright I have checked out again 6.1 branch and started kibana server getting same error:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/f/2f30fb5dfb5bb27b9ec452f6f9414a6265aa82b1.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e48d0facd541f5137c41f575e3e3924ca29d94e7.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/9/69647231f44c645025fae24575c4ffa463df8f43.png)

---

<div class="post-metadata">

**Author:** ![Hamdullah](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hamdullah](https://discuss.elastic.co/u/Hamdullah)\
**Post date:** [June 21, 2018, 3:22am UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/8 "2018-06-21T03:22:01Z")

</div>

Can anybody help me fixing the issue the please?

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [June 27, 2018, 5:31pm UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/9 "2018-06-27T17:31:10Z")

</div>

I'm not sure why you are accessing port `5603`? Kibana lives at [http://localhost:5601](http://localhost:5601).

---

<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 25, 2018, 5:42pm UTC](https://discuss.elastic.co/t/kibana-not-working-in-dev-mode-in-windows-10/135082/10 "2018-07-25T17:42:37Z")

</div>

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