Build Error: Error prepping functions

Hi folks,

I am having an issue when deploying my site. I am getting the following errors in my deploy logs, any help in fixing would be very much appreciated:

3:32:15 PM: > netlify-lambda build functions
3:32:16 PM: netlify-lambda: Building functions
3:32:18 PM: Hash: 8215d382b03fe4a321dd
3:32:18 PM: Version: webpack 4.39.2
3:32:18 PM: Time: 1783ms
3:32:18 PM: Built at: 08/26/2019 10:32:18 PM
3:32:18 PM:       Asset      Size  Chunks             Chunk Names
3:32:18 PM: purchase.js  50.7 KiB       0  [emitted]  purchase
3:32:18 PM: Entrypoint purchase = purchase.js
3:32:18 PM:  [0] ../node_modules/stripe/lib/StripeResource.js 13.6 KiB {0} [built]
3:32:18 PM:  [1] ../node_modules/stripe/lib/utils.js 9.11 KiB {0} [built]
3:32:18 PM:  [2] ../node_modules/stripe/lib/Error.js 5.33 KiB {0} [built]
3:32:18 PM:  [4] external "path" 42 bytes {0} [built]
3:32:18 PM:  [5] ../node_modules/stripe/lib/resources/Accounts.js 2.95 KiB {0} [built]
3:32:18 PM:  [6] external "http" 42 bytes {0} [built]
3:32:18 PM:  [7] external "events" 42 bytes {0} [built]
3:32:18 PM:  [9] external "crypto" 42 bytes {0} [built]
3:32:18 PM: [12] ../node_modules/stripe/lib/Webhooks.js 3.92 KiB {0} [built]
3:32:18 PM: [13] ./purchase.js 1.61 KiB {0} [built]
3:32:18 PM: [14] ../node_modules/dotenv/lib/main.js 2.93 KiB {0} [built]
3:32:18 PM: [15] external "fs" 42 bytes {0} [built]
3:32:18 PM: [16] ../node_modules/stripe/lib/stripe.js 5.75 KiB {0} [built]
3:32:18 PM: [17] ../node_modules/stripe/lib/resources.js 3.65 KiB {0} [built]
3:32:18 PM: [87] ../node_modules/stripe/package.json 1.5 KiB {0} [built]
3:32:18 PM:     + 73 hidden modules
3:32:18 PM: Function Dir: /opt/build/repo/lambda
3:32:18 PM: TempDir: /tmp/zisi-5d645d9499631e000be1d71d
3:32:18 PM: Prepping functions with zip-it-and-ship-it 0.3.1
3:32:19 PM: Error: EACCES: permission denied, open '/tmp/zisi-5d645d9499631e000be1d71d/purchase.zip'
3:32:19 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
3:32:19 PM: Error prepping functions
3:32:19 PM: Error running command: Build script returned non-zero exit code: 1

Hi, @SeanBolt. Thanks for posting about this and welcome to our Netlify community forum.

This was caused by an issue with our infrastructure and it should be resolved now. If the issue is still occurring, or if there are other questions, please reply and we’ll be happy to research this further.

Hi @luke - thanks for the reply. Yes the issue resolved itself shortly after I posted this.

Thank you for confirming! If there are other questions about Netlify in the future, we’re here and happy to answer.