Noah D
10/26/2021, 10:40 AMsst start it seems unable to deploy my stack giving me the error Error: Cannot find asset at C:\users\noah\documents\code\.build\dist\stub.zip I am only trying to launch a lambda function with minimal functionality (screenshot 1&2) I will note I have only just started learning about yarn workspaces (and trying to use yarn 3) so might be some misconfiguration there. But any thoughts around potential paths to debug would be helpful too 👌🏼Noah D
10/26/2021, 10:41 AM"workspaces": [
"src/core/*",
"src/services/*",
"infra"
],Noah D
10/26/2021, 10:43 AMinfra holds any sst stacks
src/core holds any shared code - i.e. there may be a package src/core/sample which has it's own package.json, dependencies etc
and src/services holds lambda handlersNoah D
10/26/2021, 10:58 AM@serverless-stack/resources in the infra package, when It should have been installed in the root of the projectFrank
Noah D
10/26/2021, 7:28 PM@serverless-stack/resources as a dependency at the root of my project to fix the issue, but also had to add it as a dependency within my infrastructure workspace or eslint will give me a no-extraneous-dependencies error. I was wondering if you know if this is an alright thing to do in the longterm? Or if I shouldn't be installing it in two places sorta deal? 🤔Frank
thdxr
10/27/2021, 12:04 PMthdxr
10/27/2021, 12:04 PMthdxr
10/27/2021, 12:05 PMNoah D
10/29/2021, 12:36 AM