The right executable for it to use now would be "nodejs".

** Description changed:

  Binary package hint: coffeescript
  
  After installing coffeescript and nodejs, running "coffee" should
  present a REPL prompt. However:
  
  $ coffee
  /usr/bin/env: nodejs: No such file or directory
  
  This appears to be because coffeescript is expecting "nodejs" in the
  path, but the executable provided by the current nodejs package is
  "node." This makes coffeescript unusable out of the box, although there
  *is* a workaround.
  
  Assuming ~/bin is in the user's path, creating a symlink there will
  enable the user launch an interactive prompt properly.
  
  $ cd ~/bin; ln -s /usr/bin/node nodejs
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: coffeescript 0.7.0-1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Wed May  4 20:26:09 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
  PackageArchitecture: all
  ProcEnviron:
-  LANGUAGE=en_US:en
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: coffeescript
  UpgradeStatus: No upgrade log present (probably fresh install)
+ 
+ WORKAROUND: install "nodejs-legacy" package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/777554

Title:
  coffeescript fails to find nodejs in path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coffeescript/+bug/777554/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to