I am debugging a lambda function locally on Node 4.3 using the standard Amazon Machine Image (linux x64)
When I run the program, I get an error in a function that is
I finally found an answer on Stack Overflow that answers this question.
NodeJS: How to decode base64 encoded string back to binary?
In node 5.3 & below, you need to use the buffer constructor (ie: new Buffer) instead of Buffer.from
new Buffer
Buffer.from