-
Notifications
You must be signed in to change notification settings - Fork 444
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
Github README documentation Error for Serving the Site Locally #945
Comments
I did a clean install and running from the main branch. Is there any additional setup besides
Only 1313 is listening:
My setup:
|
It would appear the netlify proxy is not starting? I believe it should be running on both 1313 and 8888 for a proper setup? Can someone please confirm. Thank you. |
Which version of node are you using? (And which version of macOS?) |
|
Could you try again using the latest LTS version of Node, that is, version 16? That's the version we officially use. |
It seems that the Netlify CLI doesn't currently work under Node v17. For details, see netlify/cli#3617 -- in particular netlify/cli#3617 (comment). I'm going to close this issue for now. If you're still having problems under Node v16, feel free to reopen the issue and/or add a comment here. |
@chalin thanks for your suggestions and help. Confirmed, netlify works when using the proper node version. Logs:
I can confirm that both localhost:1313 and localhost:8888 are now properly serving locally when starting the server. |
Great, thanks for confirming! |
https://github.com/grpc/grpc.io#serve-the-site-locally states
npm run serve
should start a server on portlocalhost:8888
. However, the current server starts on http://localhost:1313/. When I tried to visit http://localhost:8888, there is no server listening on that port.The text was updated successfully, but these errors were encountered: