Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only works when handler is in root folder #83

Open
BryanCrotaz opened this issue Jan 11, 2021 · 1 comment
Open

Only works when handler is in root folder #83

BryanCrotaz opened this issue Jan 11, 2021 · 1 comment

Comments

@BryanCrotaz
Copy link

functions:
  CheckAuthLambda:
    handler: ./src/check-auth.handler
 Serverless Error ---------------------------------------

  No file matches include / exclude patterns

  Your Environment Information ---------------------------
     Operating System:          win32
     Node Version:              12.20.0
     Framework Version:         2.18.0 (local)
     Plugin Version:            4.4.2
     SDK Version:               2.3.2
     Components Version:        3.4.6

Moving check-auth.ts up to root folder fixes the problem

@maatthc
Copy link

maatthc commented Jan 30, 2021

Have you tried to use without the './' ? E.g:

handler: src/check-auth.handler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants