Syntax Error (unexpected identifier) while installing Matrix CLI

Hey, I’m having an issue in the installation process. Whenever I try to use the matrix command, I get a syntax error. This happens no matter what I’m using the command for, as illustrated below–even when I don’t supply any arguments. Is there something I’m missing here?

nathan@linbox ~ $ matrix set env rc
Matrix CLI Error: /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/lib/helpers.js:63
startAppDeploy: function (options, events) {
^^^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/index.js:19:23
at arrayEach (/usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/node_modules/lodash/lodash.js:537:11) /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/lib/helpers.js:63
startAppDeploy: function (options, events) {
^^^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/index.js:19:23
at arrayEach (/usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/node_modules/lodash/lodash.js:537:11)
nathan@linbox ~ $ matrix register
Matrix CLI Error: /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/lib/helpers.js:63
startAppDeploy: function (options, events) {
^^^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/index.js:19:23
at arrayEach (/usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/node_modules/lodash/lodash.js:537:11) /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/lib/helpers.js:63
startAppDeploy: function (options, events) {
^^^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at /usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/index.js:19:23
at arrayEach (/usr/local/lib/node_modules/matrix-cli/node_modules/matrix-firebase/node_modules/lodash/lodash.js:537:11)
nathan@linbox ~ $

Not sure what I did, exactly, but I solved this in a flurry of rebooting and reinstalling some things!