Issue: Openwhisk
Error: { "error": "An error has occurred: Error: Invalid constructor options. Missing api_key parameter or token plugin." } Steps to reproduce: 1. create js program proxy.js var openwhisk = require('openwhisk'); function main(params) { if(params.password !== "secret") { throw new Error("Passoword incorrect"); } var ow = openwhisk(); // not passing any value to constructor will result in error. return {"status":"Logged in"}; } 2. Deploy: wsk action create proxy proxy.js 3. invoke wsk action invoke proxy -p password secret --result Solution: 1. install openwhisk with npm package manager npm install openwhisk 2. pass parameter to openwhisk(): var openwhisk = require('openwhisk'); function main(params) { if(para...