Hi <@U01JVDKASAC>, I just tried updating to 0.35.2...
# sst
p
Hi @Frank, I just tried updating to 0.35.2 and got to a point where it failed to start up the live lambda dev session. I switched back to 0.35.1 and it still failed but reported (correctly as it turns out) that it couldn't resolve the location of the handlers for my sst.Api routes. I switched back to 0.35.2 and there were no errors listed - looks like they don't appear now? So in 0.35.1 I get this but nothing equivalent in 0.35.2 that I could see:
f
Hey @Phil Astle, just to clarify, you mean if you specify an Api route with a path that doesn’t exist, 0.35.1 shows you the error in the screenshot above, but 0.35.2 doesn’t show you any error?
p
Yes, that's right
I'd moved a couple of folders and updated the paths incorrectly.
f
Oh i see. Let me give it a quick try.
In 0.35.2, I got this error. Does say what the issue is. Is that what you saw?
p
For me, it just stopped after reporting this:
(the no package.json bit it always mentions but it never stops it working)
f
I see. Does it quits after that last line? Or does it hang at
Waiting for the debugger to disconnect…
?
p
quits immediate with no pause
f
Just submitted a PR to print out descriptive error message when handler can’t be resolved - https://github.com/serverless-stack/serverless-stack/pull/616
Will go into tonite’s release!
Fixed in v0.36.0!
p
I only mentioned it because it used to to do it in the previous version, though it definitely will help with debugging those kinds of errors! Quick work as always, thanks 🙂