Ask Your Question

/usr/bin/env: node: No such file or directory

asked 2012-07-19 01:23:52 -0600

cpf624 gravatar image

I have do by the Horizon Quickstart,but after request the page I get an error like:

FilterError at / /usr/bin/env: node: No such file or directory Request Method: GET Request URL: Django Version: 1.4 Exception Type: FilterError Exception Value:
/usr/bin/env: node: No such file or directory Exception Location: /home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/compressor/filters/ in input, line 132 Python Executable: /home/jhat/Documents/openstack/horizon/.venv/bin/python Python Version: 2.6.5 Python Path:
['/home/jhat/Documents/openstack/horizon', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/pip-1.1-py2.6.egg', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/plat-linux2', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/lib-tk', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/lib-old', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/lib-dynload', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib64/python2.6/lib-tk', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages', '/home/jhat/Documents/openstack/horizon/.venv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info', '/home/jhat/Documents/openstack/horizon/openstack_dashboard'] Server time: Wed, 18 Jul 2012 20:19:42 -0500

Error during template rendering

In template /home/jhat/Documents/openstack/horizon/openstack_dashboard/templates/_stylesheets.html, error at line 3 /usr/bin/env: node: No such file or directory 1 {% load compress %} 2
3 {% compress css %} 4 <link href="{{ STATIC_URL }}dashboard/less/horizon.less" type="text/less" media="screen" rel="stylesheet"/> 5 {% endcompress %} 6 <link rel="shortcut icon" href="{{ STATIC_URL }}dashboard/img/favicon.ico"/> 7

if i comment the {% compress css %},then it works,but there is no style anymore. How can I to,please.

My OS is ubuntu 10.04LTS,and pythton is 2.6

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-07-19 06:14:19 -0600

cpf624 gravatar image

after install nodejs it works. (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-07-19 01:23:52 -0600

Seen: 664 times

Last updated: Jul 19 '12