Page MenuHomePhabricator

Aphlict requires 'node' binary in $PATH, but Ubuntu 14.04 package provides 'nodejs'.
Closed, ResolvedPublic

Description

This could be fixed directly, or the documentation could mention a workaround:

sudo ln -s `which nodejs` /usr/local/bin/node

Event Timeline

rmmh raised the priority of this task from to Needs Triage.
rmmh updated the task description. (Show Details)
rmmh added a subscriber: rmmh.

Better workaround: install nodejs-legacy, which does this symlink.

I think it's reasonable for us to test for both binaries and exit with a human-readable error if neither is found.

A more difficult problem would be determining if the node/nodejs binary is actually NodeJS... I believe that the reason that node became nodejs was due to conflicting with an existing package.