Skip to content

Instantly share code, notes, and snippets.

@rweald
Created October 30, 2017 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rweald/e536c11cfccdfc7868e970157a0daf31 to your computer and use it in GitHub Desktop.
Save rweald/e536c11cfccdfc7868e970157a0daf31 to your computer and use it in GitHub Desktop.
/Users/Ryan/code/lantern/xealth-partner-sample-code/partner-api/gulper.js:78
function runCommand(cmd, args, verbosity = 0) {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:54:16)
at Module._compile (module.js:375:25)
at loader (/Users/Ryan/code/lantern/xealth-partner-sample-code/partner-api/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/Ryan/code/lantern/xealth-partner-sample-code/partner-api/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
at Object.<anonymous> (/Users/Ryan/code/lantern/xealth-partner-sample-code/partner-api/gulpfile.babel.js:4:1)
at Module._compile (module.js:399:26)
@rweald
Copy link
Author

rweald commented Oct 30, 2017

Pretty sure this is a node version thing. It was running in node 5.2.0 which is old, but the standard install for one of our environments.

You probably want to document the required version in your README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment