Type error: region.toLowerCase is not a function?

Not sure what’s wrong here. Today my code doesn’t deploy but yesterday it worked fine. Tested it on another computer and it deploys fine. Reinstalled node.js, serverless, aws commmand line, and the serverless plugins.

2 Likes

Any help on this? I am kind of facing the same problem. But mine breaks here

 TypeError: utils_1.Utils.get(...).toLowerCase is not a function

When I run this

sls deploy -v

EnvDetails

Just had the same issue because I was specifying --verbose as command line param