koukito
02/02/2022, 11:37 AMmonorepo/
services/
service1/
src/
stacks/
sst.json
package.json
service2/
src/
stacks/
sst.json
package.json
package.json
tsconfig.json
Assuming i run the service 1 which is a Rest api with lambda and api gateway using sst start
when i invoke the api from the interface i get the error in the picture below.
running these same steps when the sst service is outside the monorepo works fine.
i think it has to do with the way dependencies are hoisted by lerna. Did any one face such an issue?koukito
02/02/2022, 12:24 PM@serverless-stack/aws-lambda-ric
as a dependency to the service to make it workthdxr
02/02/2022, 2:12 PMthdxr
02/02/2022, 2:12 PM