Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 67c280f

Browse files
authored
docs: update readme about patched serverless binary
1 parent 52e6f90 commit 67c280f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ And simply deploy:
126126
$ serverless
127127
```
128128

129+
You may also deploy using `npx serverless-patched` (or `serverless-patched` if you installed it locally), which is a patched version of `serverless` that fixes a couple of issues by patching the underlying `@serverless/cli`: (1) Continuous "Deploying" messages being printed in non-interactive terminals (e.g CI output) that make it hard to debug, and (2) Handles silent Next.js build failures.
130+
131+
It's also recommended to add `--debug` flag to get more useful logs of what's happening behind the scenes.
132+
129133
:no_entry_sign: **Don't attempt to deploy by running `serverless deploy`, use only `serverless`**
130134

131135
### Custom domain name

0 commit comments

Comments
 (0)