It would be nice to use ARM architecture for AWS Lambda functions (and use Apple silicon locally). However, the @sparticuz/chromium project has not yet added support. See the comments here.
Run pod install in the ios directory. This example is using react-native-blob-util to get a valid outputPath, but you can choose any other library to achieve the same functionality.