Paul Spencer pfp
Paul Spencer

@pagameba

I love developing on my MacBook but when you are deploying to AWS lambdas, it can be tricky. Today I screwed up deploying the next version of my miniapp because I added a dependency on `canvas` which got mac binaries so when my lambda went to run, it just failed with some esoteric node failure. Switched to a pre-built lambda layer someone made (thank you!) and everything is fine in the world again. If you find yourself faced with a lambda that won't run because of some node internal error, maybe check your binary dependencies!
0 reply
0 recast
0 reaction