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:
1 2 3 |
sudo apt-get install node-less mkdir -p /opt/stack/horizon/bin/less ln -s /usr/bin/lessc /opt/stack/horizon/bin/less/lessc |
On Ubuntu 12.10 you will also need nodejs-legacy:
1 |
apt-get install nodejs-legacy |