Comment 2 for bug 1081010

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
>