Console fails to start with JavaScript runtime error
Issue
- After installing the console, It fails to start with below error:
^[[0;37m2014-08-27 17:37:39.749^[[0m [^[[31mFATAL^[[0m] ActionView::Template::Error (Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
(in /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.0.10/vendor/assets/javascripts/modernizr.min.js)):
30:
31: -# All JavaScript at the bottom, except for Modernizr and Respond.
32: -# Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
33: = javascript_include_tag 'modernizr.min'
34:
35: = csrf_meta_tag
execjs (1.4.0) lib/execjs/runtimes.rb:51:in `autodetect'
execjs (1.4.0) lib/execjs.rb:5:in `<module:ExecJS>'
execjs (1.4.0) lib/execjs.rb:4:in `<top (required)>'
activesupport (3.2.8) lib/active_support/dependencies.rb:251:in `require'
activesupport (3.2.8) lib/active_support/dependencies.rb:251:in `block in require'
activesupport (3.2.8) lib/active_support/dependencies.rb:236:in `load_dependency'
activesupport (3.2.8) lib/active_support/dependencies.rb:251:in `require'
Environment
- Openshift Enterprise
- 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
