Michael Robellard
05/25/2022, 8:15 PMError: Cannot set the "srcPath" to the project root for the "Lambda_POST_/login_check" function.
Should the Default settings for the api be default or defaultFunctionProps, or something else, I tried both and seem to still be having the issue. My Lambda functions are Python so srcPath is required for requirements.txt
Full Traceback:
Error: Cannot set the "srcPath" to the project root for the "Lambda_POST_/login_check" function.
at new Function (file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Function.js:108:23)
at Function.fromDefinition (file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Function.js:389:20)
at Api.createFunctionIntegration (file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Api.js:491:27)
at file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Api.js:378:26
at Api.addRoute (file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Api.js:408:11)
at file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Api.js:101:18
at Array.forEach (<anonymous>)
at Api.addRoutes (file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Api.js:100:29)
at new Api (file:///Users/dramus/chartflow/node_modules/@serverless-stack/resources/dist/Api.js:50:14)
at new ApiStack (file:///Users/dramus/chartflow/.build/lib/index.js:183:16)
thdxr
05/25/2022, 8:21 PMthdxr
05/25/2022, 8:22 PM