sapessi / serverless-sam

Serverless framework plugin to export AWS SAM templates for a service
Apache License 2.0
152 stars 26 forks source link

Serverless command "sam" not found. Did you mean "start"? #38

Closed dep closed 5 years ago

dep commented 5 years ago

I've followed the instructions but get the following error:

▶ serverless sam export --output ./sam-template-generated.yml

  Serverless Error ---------------------------------------

  Serverless command "sam" not found. Did you mean "start"? Run "serverless help" for a list of all available commands.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              12.10.0
     Framework Version:         1.54.0
     Plugin Version:            3.1.2
     SDK Version:               2.1.2
     Components Core Version:   1.1.1
     Components CLI Version:    1.2.3
dep commented 5 years ago

Apologies, I neglected to save my serverless.yml