I get \'Cannot find module \'firebase\' when I try to run this in Lambda (Node.js 4.3)
var Firebase = require(\'firebase\');
Same thing hap
Another alternative if you're using a node-based development setup is to use the node-lambda
package from here. Essentially it provides wrappers to set up, test and deploy to lambda. node-lambda deploy
will package up any modules you've installed (e.g. with npm i --save firebase
) and make sure they're available on Lambda itself. I've found it really helpful for managing external modules.