Daniel da Rocha
03/01/2022, 5:47 PMcannot find module puppeteer/lib/Browser
Not sure what else to try. Here is my GH repo if anyone could to take a look? 🙏
https://github.com/danrocha/amazon-book-pageFrank
sst start
or after u sst deploy
?Daniel da Rocha
03/02/2022, 7:02 AMsst deploy
now and same thing. Do you see anything out of place in the code? It is really simple and I did not modify the original social-card
much… I actually simplified it, removing a lot of other parts, really to test the basic lambda.Daniel da Rocha
03/02/2022, 7:58 AMDaniel da Rocha
03/02/2022, 4:28 PMJay
Frank
const api = new sst.Api(this, "Api", {
routes: {
"GET /amazon/book": {
function: "src/amazon/book.handler",
timeout: 15,
layers: [layer],
bundle: {
externalModules: ["chrome-aws-lambda"],
},
},
},
});
to this
const api = new sst.Api(this, "Api", {
routes: {
"GET /amazon/book": {
function: {
handler: "src/amazon/book.handler",
timeout: 15,
layers: [layer],
bundle: {
externalModules: ["chrome-aws-lambda"],
},
},
},
},
});