I am having some trouble setting up the local environment. I hope you can help me out. Thank you very much.
I am trying to run the Speckle server on my local environment (Mac M1 - Ventura). I have followed the development documentation, which instructs me to run ‘yarn dev’. However, when I navigate to ‘localhost:3000’, I encounter the following error: “An error occurred while trying to proxy: localhost:3000/”. Interestingly, the application works on ‘localhost:8081’, but the layout is different from speckle.xyz.
So, my question is: what is the difference between ‘localhost:3000’ and ‘localhost:8081’? It appears that ‘8081’ is running ‘frontend2’. Is ‘frontend2’ the latest version? Should I be running the app on ‘localhost:3000’ instead of ‘localhost:8081’?
I apologize for my confusion regarding ‘frontend’ and ‘frontend2’, as both of them seem to be operational. Your assistance in clarifying this matter is greatly appreciated.
Welcome to Speckle’s community, feel free to introduce yourself to the community on our introductions thread - we’d love to know more about what you’re using Speckle for and what you wish to see from Speckle. It’s great to see that you’re trying to run Speckle and I’m sorry to read that you encountered this issue.
The error regarding proxying may be related to a known issue with IPv6 addresses on mac machines (see this thread for more details. We have introduced a fix for this that is available if you are using the source code (HEAD commit of main branch on GitHub) or will be available in the next official release of Speckle server. You may have to update any .env files that were created already to match the latest .env.example files.
Frontend 2 is the latest version, which is available as a pre-release for testing - you can read more about it on our blog. Both are operational and can be used interchangeably (they both connect to the same backend components), though there are some features of Frontend 1 (port 8081) that are not yet available on Frontend 2 (port 3000), such as the administration panel and webhooks (to be delivered very soon!).
Hope this helps clarify matters, and let me know if frontend1 still isn’t working for you.