Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Specify minimum node version #3

Open
alexellis opened this issue Oct 17, 2017 · 4 comments
Open

Specify minimum node version #3

alexellis opened this issue Oct 17, 2017 · 4 comments

Comments

@alexellis
Copy link
Member

alex@host:~/dev/scheduler/skej$ node index.js
/home/alex/dev/scheduler/skej/skej/index.js:8
const {invoke, compose} = FaaS('http://localhost:8080');
^

SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/home/alex/dev/scheduler/skej/index.js:3:18)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)

@austinfrey
Copy link

Will do. I might just make changes to allow for more versions. thanks for the feedback

@austinfrey
Copy link

I updated to README to state minimum Node version for now. #5

@developius
Copy link

@austinfrey you can do this in package.json too, which is often helpful to the end user:

{
  "name": "skej",
  "engines" : { "node" : ">=6.4.0" }
}

@austinfrey
Copy link

@developius thanks for the tip!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants