我使用此指南在asw lambda上部署代码: https://cwhite.me/hosting-a-laravel-application-on-aws-lambda/
var spawn = require('child_process').spawn;
var parser = require('http-string-parser');
exports.handler = function(event, context) {
// Sets some sane defaults here so that this function doesn't fail when it's not handling a HTTP request from
});
};
这部分代码可帮助执行php。但是我在lambda函数中出错:
找不到模块“ http-string-parser”
您能帮助我解决此问题吗?