Using version 0.69.7 I was seeing what seemed like...
# sst
r
Using version 0.69.7 I was seeing what seemed like strange behaviour with a consumer of an SQS queue. The message would arrive, appear as inflight in the AWS console, I’d see a message in the debug console saying the function was invoked but then nothing would happen. No errors, just silence. I decided to deploy to AWS to see if it was something to do with the local debugging and after looking at CloudWatch I found it was due to a missing entry from
bundle.nodeModules
giving an error like:
Copy code
{
    "errorType": "TypeError",
    "errorMessage": "mod.require is not a function",
    "stack": [
        "TypeError: mod.require is not a function",
        "    at null.dynamicRequire (/node_modules/unzipit/dist/unzipit.js:433:16)")
...
It seems that the error is swallowed somewhere when running via
sst start
. It’d be great if these errors could be displayed in the console with
sst start
t
This is actually fixed in the latest v1 beta
r
OK, cool. I'll be looking to upgrade soon