Erik Robertson
09/29/2021, 3:04 PMnpx create-serverless-stack@latest --example rest-api sst-test2
and then cd and do npm run start it deploys the debug stack and then fails beore deploying the app stack saying:
Cannot find app handler. Make sure to add a "lib/index.js" file.
There is indeed no such file in the sample. There is a stacks folder instead which is being referred to in sst.json.
Is /lib' a hardcoded dependency??Ross Coundon
09/29/2021, 3:05 PMErik Robertson
09/29/2021, 3:06 PMErik Robertson
09/29/2021, 3:06 PM"main": "stacks/index.js"
Erik Robertson
09/29/2021, 3:07 PMRoss Coundon
09/29/2021, 3:20 PMErik Robertson
09/29/2021, 3:23 PMthdxr
09/29/2021, 3:25 PMthdxr
09/29/2021, 3:25 PMthdxr
09/29/2021, 3:31 PMthdxr
09/29/2021, 3:31 PMErik Robertson
09/29/2021, 3:45 PMSeth Geoghegan
10/18/2021, 1:30 PMFrank
Seth Geoghegan
10/19/2021, 4:19 PMSeth Geoghegan
10/19/2021, 4:19 PMFrank