Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. [Solved] Could not find a JavaScript runtime when trying to access openproject

[Solved] Could not find a JavaScript runtime when trying to access openproject

Added by samuel tan over 10 years ago

Hi,

I have successfully manual install following the steps in openproject guide in Ubuntu 14 without error.

However, when after restart apache2, and trying to access to http://localhost, the pages shows “We are sorry, but something went wrong”.

I went to /tmp/passenger-errorxxx.html file, then I had this error :
" Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)" and follow by more info as attaced.

I also check that I do have .rvm/gems/ruby-2.1.5/gems/execjs-2.4.0/lib/execjs

Can anyone guide me how can I proceed to get this error fixed please?

Thank you.


Replies (1)

RE: Could not find a JavaScript runtime when trying to access openproject - Added by samuel tan over 10 years ago

I solve the issue myself. Just for sharing, my solution is by installing nodejs.

sudo apt-install nodejs

and restart apache2 and OP is running …

  • (1 - 1/1)
Loading...