EFF on master
Update README.md (compare)
EFF on master
Update README.md (compare)
slvnperron on master
Added 'logs:*' as a required pe… Merge pull request #66 from chr… (compare)
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.28
npm ERR! npm v2.7.1
npm ERR! path /Users/rantonmattei/work/dev/lambdas/node_modules/lambdaws/bin/lambdaws-cli
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! enoent ENOENT, chmod '/Users/rantonmattei/work/dev/lambdas/node_modules/lambdaws/bin/lambdaws-cli'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
1.0.11
is going through just fine
"version": "1.0.10"
whereas the latest is supposed to be 1.0.12
according to NPM. I'll look into that error. credentials: {
accessKey: 'MYACCESSKEY', // string, AWS AccessKeyId.
secretKey: 'MYSECRETKEY', // string, AWS AccessKeySecret.
},
role: 'arn:aws:iam::999999999999999:role/lambda_exec_role', // string, AWS ARN. Must have full access to SQS.
region: 'us-east-1',
uploadTimeout: 30000
});
func.apply(this, event.args);
func.apply(this, [event, context]);
event.args.push(doneCallback);
[ { eventVersion: '2.0', eventSource: 'aws:s3', awsRegion: 'us-east-1', eventTime: '2015-03-18T15:40:07.417Z', eventName: 'ObjectCreated:Put', userIdentity: [Object], requestParameters: [Object], responseElements: [Object], s3: [Object] } ] }
Failure while running task: TypeError: Cannot call method 'push' of undefined at __lambda__ (/var/task/index.js:13:20)
var minus = function(a, b, callback) { /*...*/ };
var myFunc = function(event, context) { /*...*/ };
function __lambda__ (event, context) {
var utils = require('./_utils'),
callbackHandler = require('./_callbackHandler'),
externalsHandler = require('./_externalsHandler');
var doneCallback = callbackHandler.getCallback(event, context);
if (event.args) {
event.args.push(doneCallback);
}
var externals = /*externals*/null; // The external libraries to install, injected below
var func = /*user function*/null; // The user function or module to run, injected below
var runUserFunction = function() {
try {
if (event.args) {
func.apply(this, event.args);
} else {
func.apply(this, [event, context]);
}
} catch(error) {
doneCallback(utils.objectifyError(error));
}
};
try { externalsHandler.installExternals(externals, runUserFunction) }
catch(error) { doneCallback(utils.objectifyError(error)) }
}