Closed jeancarl closed 8 years ago
That label normally indicates the Action is running in the older Node v0.12 runtime, rather than the current default v4.0.
I'll fix the code to accept any Node environment.
Thanks for reporting this.
I've now fixed this to allow both Node runtimes. Let me know if this is still an issue.
For the CREATING NODEJS ACTIONS:
https://github.com/openwhisk/openwhisk-workshop/blob/master/exercises/creating_nodejs_actions/exercise.js#L9 https://github.com/openwhisk/openwhisk-workshop/blob/master/exercises/creating_nodejs_actions/exercise.js#L41 https://github.com/openwhisk/openwhisk-workshop/blob/master/exercises/creating_nodejs_actions/exercise.js#L79
Three lines check for the kind value of
nodejs:6
.const uses_nodejs = (stdout.match('"kind": "nodejs:6"'))
The returned value for kind is
nodejs
(using an older version of wsk CLI?), notnodejs:6
(see below):