How to solve DevStack error “Exception Value: /usr/bin/env: node: No such file or directory”

After installing DevStack on your Ubuntu machine, when trying to access the OpenStack Dashboard (Horizon) you might get the following error: Exception Value: /usr/bin/env: node: No such file or directory Here’s the solution, tested on 12.04 and 12.10:

  On Ubuntu 12.10 you will also need nodejs-legacy: