-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localhost:7676 connection refused using tutorial template #4
Comments
@JaviSoto I'm taking a look now - it certainly seems related to not having Node installed. I'm wondering if im swallowing that error somewhere. Can you try running Can you also post output of manually running the node server from the root directory of your project:
|
$ node --version
v19.5.0 If I run that |
If I run |
I just pushed up a debug branch, can you switch to this and post output again:
|
Indeed:
I installed $ which node
/opt/homebrew/bin/node |
So strange, this is my output as well:
I'm going to do some research today to see if this is a permissions issue with homebrew. In the meantime you can probably uninstall node via homebrew and install Node v18 (I haven't tested on v19 although im sure it works) directly from here: https://nodejs.org/en/ |
I'm looking at the code in https://github.com/swift-cloud/Vercel/blob/main/Plugins/VercelPackager/Shell.swift, and some old code of mine, and I think I remember what the problem is now: when you invoke a program like that, the user terminal environment isn't loaded normally, so |
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:However, 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!
The text was updated successfully, but these errors were encountered: