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

plugin doesn't work #193

Open
rocifier opened this issue Jul 19, 2021 · 1 comment
Open

plugin doesn't work #193

rocifier opened this issue Jul 19, 2021 · 1 comment

Comments

@rocifier
Copy link

rocifier commented Jul 19, 2021

Hi, I have installed the plugin in my project's folder C:\Repos\contact-center-backend\uoa-connect and then my function is defined in ./serverless/green/serverless.yml
My source code for the function is in ./src/queryIndex.js

My function is defined in serverless.yml like this:

plugins:
  - serverless-functions-base-path
  
custom:
  functionsBasePath: ../../src

functions:
  queryIndex:
    handler: queryIndex.handler

When I CD into ./serverless/green/ and run serverless invoke local --stage test -f queryIndex -p '../../test/queryIndex-events.json' --profile saml I get the error:

Error: Cannot find module 'C:\Repos\contact-center-backend\uoa-connect\serverless\green\queryIndex'

@mattrabe
Copy link

mattrabe commented Apr 8, 2022

I get the same

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