Sometime, you can't wait and try new features in serverless framework (github.com/serverless/serverless)
serverless/serverless#4325 (comment)
run below commands, this build will generate new serverless command.
cd <serverless_repo_full_path>
# Fake the environment "SENTRY_DSN", otherwise, it will stop the build
export SENTRY_DSN=demo
./scripts/shrinkwrap && node ./scripts/pre-release.js
ls -l bin/serverless
Then you should be fine to use this latest version, for example, run below command to do the deployment
<serverless_repo_full_path>/bin/serverless deploy
serverless/serverless#4655 (comment)
Hi, @lgaidzik.
Currently, the shared API functionality has not been available yet.
It will be released in v 1.26.0.
You can install it with
npm install -g serverless/serverless#master
if you want to use it as soon as possible.