You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've recently moved one of my repos over to use Yarn v2 and GitHub Actions as the CI. For some reason, the yarn install command fails with the following error when installing dd-trace-js:
➤ YN0007: │ dd-trace@npm:0.24.0 must be built because it never did before or the last one failed
➤ YN0009: │ dd-trace@npm:0.24.0 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-563671f2/build.log)
➤ YN0009: │ dd-trace@npm:0.24.0 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-563671f2/build.log)
Unfortunately, I wasn't able to access those files in GH Actions. This doesn’t happen at all locally (on a Mac Os X Catalina). Does anyone have an idea of why this could be? The GH Action is able to install the 0.21.0-beta.0 release but not the 0.22.0 one and above.
Environment
Operation system:Linux version 5.3.0-1032-aws (buildd@lgw01-amd64-026) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #34~18.04.2-Ubuntu SMP as given by cat /proc/version
Node version: 12.16.1
Tracer version: 0.22.0+
Agent version: N/A
The text was updated successfully, but these errors were encountered:
A temporary solution for me is to install using CI=false yarn.
The intention of the "install": "node scripts/should_rebuild && node-gyp-build || exit 0" script looks like it should always exit with 0; however, I'm seeing that Yarn v2 does not handle the || exit 0 as expected when it runs this script. I found that if I add parentheses, as follows, the exit 0 is hit, as expected:
@vecerek I will close this since as mentioned above a fix was released in 0.24.1. Please feel free to reopen if you are still experiencing issues related to the tracer and Yarn2.
Describe the bug
I've recently moved one of my repos over to use Yarn v2 and GitHub Actions as the CI. For some reason, the yarn install command fails with the following error when installing dd-trace-js:
Unfortunately, I wasn't able to access those files in GH Actions. This doesn’t happen at all locally (on a Mac Os X Catalina). Does anyone have an idea of why this could be? The GH Action is able to install the
0.21.0-beta.0
release but not the0.22.0
one and above.Environment
Linux version 5.3.0-1032-aws (buildd@lgw01-amd64-026) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #34~18.04.2-Ubuntu SMP
as given bycat /proc/version
The text was updated successfully, but these errors were encountered: