can't find node

Bug #1081010 reported by syshack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

in Ubuntu 12.4,nodejs's bin file is "nodejs" but not "node"(it means you can't run nodejs by type "node" in shell),so in "bin/less/lessc " line 1 : "/usr/bin/env node" will raise a exception.

Revision history for this message
davidlenwell (dlenwell) wrote :

For me this doesn't happen in 12.04 it happens in 12.10. To get around it so I can develop I have created a soft link..

ln -s /usr/bin/nodejs /usr/bin/node

I know this isn't a real fix .. but it keeps things moving along.

Revision history for this message
syshack (syshack) wrote : Re: [Bug 1081010] Re: can't find node

yes, I resolved it by this way.Does adding this line to the install script is a good idea?

金鑫Sean

Mobile:18601351220

在 2012-11-21,3:19,davidlenwell <email address hidden> 写道:

> For me this doesn't happen in 12.04 it happens in 12.10. To get around
> it so I can develop I have created a soft link..
>
> ln -s /usr/bin/nodejs /usr/bin/node
>
> I know this isn't a real fix .. but it keeps things moving along.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1081010
>
> Title:
> can't find node
>
> Status in OpenStack Dashboard (Horizon):
> New
>
> Bug description:
> in Ubuntu 12.4,nodejs's bin file is "nodejs" but not "node"(it means
> you can't run nodejs by type "node" in shell),so in "bin/less/lessc "
> line 1 : "/usr/bin/env node" will raise a exception.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/horizon/+bug/1081010/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.