Hej, the errors occur during the execution of “yarn build”.
My supervisor is running the server perfectly fine on windows, so i am confused you say it will never work.
I always cloned the most recent version on several different days from github and did not make any changes but always got the same errors the last week.
OS and Node as specified in the post (20.04 Ubuntu and i tried several Node versions from 18.16 to 18.18, 20)
I was unfortunately unable to replicate your reported issue. I was able to run speckle server using the above instructions and run our full test suite without any issue.
Would you be able to please provide the output of all of the following?:
Any Ideas on how to fix this? I cant find any codespace related problems regarding this issue.
I will try to set up a Digital Ocean VM and also try there meanwhile.
If you open the developer tools console it will indicate that the frontend is unable to connection to localhost (127.0.0.1).
To resolve this you will have to edit the file docker-compose-speckle.yml to replace http://127.0.0.1 with your GitHub Codespace URL e.g. https://your-codespace-url-80.app.github.dev.
There are three locations where this needs to be replaced. In speckle-frontend-2, the NUXT_PUBLIC_API_ORIGIN property, in speckle-server the CANONICAL_URL property and the FRONTEND_ORIGIN property.
Once I changed these values, I was able to log in. However, the file-import feature wasn’t working as it returned a 401 error which requires some further investigation.