-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Describe the bug
Node.js version: 21.3.0
OS version: MacOS
Description:
Actual behavior
Builds are failing - we now have to include Python in our Dockerfile and the build is failing, likely due to a regression in the re2 1.21.3 package.
> [12/13] RUN yarn install:
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! stack at ChildProcess.<anonymous> (/dist/.yarn/unplugged/node-gyp-npm-10.2.0-cad1109948/node_modules/node-gyp/lib/build.js:216:23)
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! System Linux 6.5.0-1025-azure
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! command "/usr/local/bin/node" "/dist/.yarn/unplugged/node-gyp-npm-10.2.0-cad1109948/node_modules/node-gyp/bin/node-gyp.js" "-j" "max" "rebuild"
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! cwd /dist/.yarn/unplugged/re2-npm-1.21.3-8175eda09b/node_modules/re2
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! node -v v21.7.3
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! node-gyp -v v10.2.0
102.6 ➤ YN0000: │ re2@npm:1.21.3 STDERR gyp ERR! not ok
102.6 ➤ YN0009: │ re2@npm:1.21.3 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-bd4892ab/build.log)
102.7 ➤ YN0000: └ Completed in 1m 42s
102.7 ➤ YN0000: · Failed with errors in 1m 43s
Expected behavior
Reverting to superagent 9.0.2 is workaround for now (down from 10.0.0).
Checklist
- I have searched through GitHub issues for similar issues.
- I have completely read through the README and documentation.
- I have tested my code with the latest version of Node.js and this package and confirmed it is still not working.