From 8ba4cff848b6582e4e7996f04b09944b37610cbb Mon Sep 17 00:00:00 2001 From: David Thyresson Date: Mon, 3 Oct 2022 12:18:23 -0400 Subject: [PATCH 1/3] Adds Troubleshooting Section to Serverless This documentation change helps resolve a deployment issue with serverless if your dev instance is running. --- docs/docs/deploy/serverless.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/docs/deploy/serverless.md b/docs/docs/deploy/serverless.md index 45c9628b38dd..341131c2c774 100644 --- a/docs/docs/deploy/serverless.md +++ b/docs/docs/deploy/serverless.md @@ -109,3 +109,16 @@ This will take several minutes, so grab your favorite beverage and enjoy your ne :::tip Pro tip If you get tired of typing `serverless` each time, you can use the much shorter `sls` alias: `yarn rw deploy sls` ::: + +## Troubleshooting + +If you happend to see the following error wehn deploying: + +```terminal +Error: +No auth.zip file found in the package path you provided. +``` + +And when you `run yarn rw deploy serverless --first-run`, these files get created, but then dissapear and that error gets thrown, please make sure that you are not running your dev instance when you attempt to deploy. + +Please stop your dev server and then retry your deploy. From b1f7231825f86f936537ee95bbbefe79b019d4ad Mon Sep 17 00:00:00 2001 From: David Thyresson Date: Wed, 9 Nov 2022 13:35:14 -0500 Subject: [PATCH 2/3] Update docs/docs/deploy/serverless.md Co-authored-by: Dominic Saadi --- docs/docs/deploy/serverless.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/deploy/serverless.md b/docs/docs/deploy/serverless.md index 341131c2c774..4a1cb1030988 100644 --- a/docs/docs/deploy/serverless.md +++ b/docs/docs/deploy/serverless.md @@ -112,7 +112,7 @@ If you get tired of typing `serverless` each time, you can use the much shorter ## Troubleshooting -If you happend to see the following error wehn deploying: +If you happen to see the following error when deploying: ```terminal Error: From 1fc67866de184a64c9ea52cac38de91d845ea0b2 Mon Sep 17 00:00:00 2001 From: David Thyresson Date: Wed, 9 Nov 2022 13:35:21 -0500 Subject: [PATCH 3/3] Update docs/docs/deploy/serverless.md Co-authored-by: Dominic Saadi --- docs/docs/deploy/serverless.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/docs/deploy/serverless.md b/docs/docs/deploy/serverless.md index 4a1cb1030988..545c197ba3b0 100644 --- a/docs/docs/deploy/serverless.md +++ b/docs/docs/deploy/serverless.md @@ -119,6 +119,4 @@ Error: No auth.zip file found in the package path you provided. ``` -And when you `run yarn rw deploy serverless --first-run`, these files get created, but then dissapear and that error gets thrown, please make sure that you are not running your dev instance when you attempt to deploy. - -Please stop your dev server and then retry your deploy. +Make sure that the dev server isn't running, then retry your deploy.