Page MenuHomePhabricator

Node is now very exciting to install on Ubuntu 14?
Open, WishlistPublic

Description

Aphlict is now failing to start on secure with an error like this:

SyntaxError: Use of const in strict mode.

Unclear exactly why this started happening since I just did a normal push. One remedy is to do this little dance:

$ sudo npm install -g n # Install a binary called "n".
$ sudo n stable         # Install the stable version of "node".
$ sudo mv /usr/bin/nodejs /usr/bin/nodejs.ubuntu # Move old nodejs away so we pick node instead.

Robust!