svdgraaf / serverless-basic-authentication

Use Basic Authentication using Api Gateway api-keys
MIT License
22 stars 19 forks source link

Function "basicAuthenticator" doesn't exist in this Service #60

Open puzanov opened 4 years ago

puzanov commented 4 years ago

After adding all steps described in readme I see this error. Pls help understand whats could be wrong.

sls deploy
Basic Authentication: Adding function for Basic Authenticator
Basic Authentication: Adding Symlink for Basic Authenticator
Basic Authentication: Enabled for scan
Serverless: Warning the Serverless Dashboard doesn't support the following runtime: provided
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Basic Authentication: Removing Symlink for Basic Authenticator

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

  Function "basicAuthenticator" doesn't exist in this Service

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

  Your Environment Information ---------------------------
     Operating System:          linux
     Node Version:              12.16.3
     Framework Version:         1.82.0
     Plugin Version:            3.8.3
     SDK Version:               2.3.1
     Components Version:        2.34.9

image basic_auth.py is included in the package.