Kibana4 and module 'jade' fail

On first run Kibana 4.1.0 i got error:
"Error: Cannot find module 'jade'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)"
... skiped ...

As a result is necessary to:
yum install npm
and
npm install jade

Why you don't add it in you tar ?

Jade isn't required for the server to run, and because of that isn't included. Can you describe how you are running Kibana 4.1.0?

Downloaded https://download.elastic.co/kibana/kibana/kibana-4.1.0-linux-x64.tar.gz
Configured for use real elasticsearch node. Logs in ES-base from nginx -> rsyslog -> logstash
Created Sevice or simple start like ./kibana4/bin/kibana "/var/log/kibana" 2> "/var/log/kibana" &

Open http://kibana_host:5601/ - got error:

install jade

Open http://kibana_host:5601/ - all ok, discover create chart.

I'm running into this as well where I upgraded from 4.0.2 to 4.1 and it crashes every once in a while with something like this:

Error: Cannot find module 'jade'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at new View (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/view.js:50:49)
at EventEmitter.app.render (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/application.js:545:12)
at ServerResponse.res.render (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/response.js:938:7)
at module.exports (/home/awahba/kibana-4.1.0-linux-x64/src/app.js:71:7)
at Layer.handle_error (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/layer.js:58:5)
at trim_prefix (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:300:13)
at /home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:270:7
at Function.proto.process_params (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:321:12)
at next (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:261:10)
at app.use.res.render.message (/home/awahba/kibana-4.1.0-linux-x64/src/app.js:50:3)
at Layer.handle [as handle_request] (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:302:13)
at /home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:270:7
at Function.proto.process_params (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:321:12)
at next (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:261:10)
at /home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:603:15
at next (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:246:14)
at Function.proto.handle (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:166:3)
Error: Cannot find module 'jade'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at new View (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/view.js:50:49)
at EventEmitter.app.render (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/application.js:545:12)
at ServerResponse.res.render (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/response.js:938:7)
at module.exports (/home/awahba/kibana-4.1.0-linux-x64/src/app.js:71:7)
at Layer.handle_error (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/layer.js:58:5)
at trim_prefix (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:300:13)
at /home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:270:7
at Function.proto.process_params (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:321:12)
at next (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:261:10)
at app.use.res.render.message (/home/awahba/kibana-4.1.0-linux-x64/src/app.js:50:3)
at Layer.handle [as handle_request] (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:302:13)
at /home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:270:7
at Function.proto.process_params (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:321:12)
at next (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:261:10)
at /home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:603:15
at next (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:246:14)
at Function.proto.handle (/home/awahba/kibana-4.1.0-linux-x64/src/node_modules/express/lib/router/index.js:166:3)

In fact, you have confirmed my subject and the way of solutions.

Okay, confirmed this is an issue and just published 4.1.1 to correct it. Thanks for reporting @vassav!