re: A crash course on securing Serverless APIs with JSON web tokens VIEW POST


Hey, I have installed npm install --save-dev serverless-offline and I am getting the following when I try offline:

hafizur@hafizur-MacBookPro:~/aws-proj/express-sls-app$ sls offline start --skipCacheInvalidation

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

  Serverless command "offline" not found. Did you mean "config"? 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 ---------------------------
     OS:                     linux
     Node Version:           8.10.0
     Serverless Version:     1.40.0

Please revert if you found a solution. I, too, am experiencing this issue. Also, I have checked the credentials, they are properly configured.


you have to make sure that you are properly authenticated to aws.


Code of Conduct Report abuse