-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi! Congrats for shipping :) really excited about this.
I followed the tutorial in https://swift.cloud/blog/deploy-server-side-swift-applications-on-vercel, and I can't figure out what I may be doing wrong. I created a project that is essentially the same as https://github.com/swift-cloud/vercel-starter-kit. When I run swift package --disable-sandbox vercel dev I see the following output, seemingly showing everything's OK:
-------------------------------------------------------------------------
Starting dev server: http://localhost:7676
-------------------------------------------------------------------------
/Applications/Xcode-14.2.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift run --package-path /Users/javi/Documents/Projects/Personal/Website
[0/1] Planning build
Building for debugging...
Build complete! (1.08s)
2023-01-29T11:58:12-0800 info LocalLambdaServer : [AWSLambdaRuntimeCore] LocalLambdaServer started and listening on 127.0.0.1:7000, receiving events on /invoke
2023-01-29T11:58:12-0800 info Lambda : [AWSLambdaRuntimeCore] lambda runtime starting with LambdaConfiguration
General(logLevel: info))
Lifecycle(id: 190925014293333, maxTimes: 0, stopSignal: TERM)
RuntimeEngine(ip: 127.0.0.1, port: 7000, requestTimeout: nilHowever, opening http://localhost:7676 on a browser doesn't load (ERR_CONNECTION_REFUSED in Chrome).
Looking at the sources I can't figure out what it may be. I thought maybe it was because I didn't have node installed (although I'm surprised I didn't see an error about it?). But after installing it, i see the same output when invoking the plugin and the same result.
Is there anything else I can to do debug this? Thanks!