Closed zoran995 closed 2 weeks ago
Hey @zoran995 - I don't think any of the core team uses the codespaces setup, its something the community has added and maintains. If you can figure out what is causing the error, it would be a good fix.
@tinesoft I think has worked on it some.
Hi @zoran995
Indeed, I had fixed that exact error in the past in this PR: https://github.com/nrwl/nx/pull/20020
The key is to make sure that the underlying linux system is up to date.
I had automated it in the postCreateCommand"
command that is automatically run when the codespace is first built or rebuilt. So either rebuild your codespace or run the following command:
# Update the underlying (Debian) OS, to make sure we have the latest security patches and libraries like 'GLIBC'
sudo apt-get update && sudo apt-get -y upgrade
Hi @AgentEnder, @tinesoft thanks for the update. Yeah, I saw that postCreateCommand
and tried a bunch of methods to manually update the Linux but couldn't find a way to update it with the specified image. It always resolves to 2.31, will try to get some more time to play around with it.
The main reason I went with codespaces is that unit tests in devcontainer are taking forever to run on my M2 Pro max, and then fail with timeout after 35k ms
This should be fixed now. :tada:
Current Behavior
When trying to run nx unit test inside github codespaces an error
is thrown. I saw that a post-create command is being run that should update the system but isn't upgrading the glibc library. Running that
Expected Behavior
The developer is able to successfully run the tests and other commands inside the dev container in codespaces
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response