I'm trying to deploy a Netlify Lambda Functions, and I'm getting this build error:
...
11:00:00 PM: Build script success
11:00:00 PM: Failing build: Failed to build site
11:00:00 PM: failed during stage 'building site': Deploy directory 'build' does not exist
package.json
...
"scripts": {
"build": "netlify-lambda build src/lambda"
},
...
What am I missing?
try to add "yarn" to the "build" script, like so:
...
"scripts": {
"build": "yarn netlify-lambda build src/lambda"
},
...