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:
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:
apt-get install nodejs-legacy
本文提供了解决DevStack安装后访问OpenStack Dashboard时出现的/usr/bin/env:node:Nosuchfileordirectory错误的方法。通过安装必要的软件包并创建软链接可以修复此问题。

被折叠的 条评论
为什么被折叠?



