node-gyp issues

Hey guys, about 50% of our builds fail: 87699cae-6d13-4b3b-b72a-749216c8a12f is one such deployment ID How can I debug the cause of this error?
No description
No description
1 Reply
Jeff
JeffOP6mo ago
Deployment ID: 138da382-d26d-44ff-86d0-c01713682651 (after pressing retry a few times) builds, no error code 1 We have:
YARN_VERSION=1
NODE_VERSION=20
YARN_VERSION=1
NODE_VERSION=20
Caching is disabled and we're on build system V2 Reported this to paid support, will post back if we figure it out ! Just got this back from support. Unfortunately it had been 2 weeks and I just ended up adding node-gyp to deps, which seems fine so far
2024-05-29T14:24:02.886290Z CFPAGESLOG:[4/4] Building fresh packages...
2024-05-29T14:24:02.893792Z CFPAGESLOG:success Installed "[email protected]" with binaries:
2024-05-29T14:24:02.894046Z CFPAGESLOG: - node-gyp
2024-05-29T14:24:06.712691Z CFPAGESLOG:Error: Exit with error code: 1
2024-05-29T14:24:06.713095Z CFPAGESLOG: at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-05-29T14:24:06.713980Z CFPAGESLOG: at Object.onceWrapper (node:events:652:26)
2024-05-29T14:24:06.714109Z CFPAGESLOG: at ChildProcess.emit (node:events:537:28)
2024-05-29T14:24:06.714416Z CFPAGESLOG: at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-05-29T14:24:06.726189Z CFPAGESLOG:Failed: build command exited with code: 1
2024-05-29T14:24:06.729502Z ERROR:root:Unhandled error in step build_assets
2024-05-29T14:24:06.729550Z Traceback (most recent call last):
2024-05-29T14:24:06.730372Z File "/opt/pages/build_tool/main.py", line 205, in run_step
2024-05-29T14:24:06.730390Z step_error = step_fn(config, logs)
2024-05-29T14:24:06.730400Z File "/opt/pages/build_tool/main.py", line 165, in step_build
2024-05-29T14:24:06.730409Z env_vars, memory_limit, logs)
2024-05-29T14:24:06.730419Z File "/opt/pages/build_tool/steps/build_assets.py", line 256, in build_assets
2024-05-29T14:24:06.730428Z raise RuntimeError(errors.ERR_BUILD_COMMAND_FAILED)
2024-05-29T14:24:02.886290Z CFPAGESLOG:[4/4] Building fresh packages...
2024-05-29T14:24:02.893792Z CFPAGESLOG:success Installed "[email protected]" with binaries:
2024-05-29T14:24:02.894046Z CFPAGESLOG: - node-gyp
2024-05-29T14:24:06.712691Z CFPAGESLOG:Error: Exit with error code: 1
2024-05-29T14:24:06.713095Z CFPAGESLOG: at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-05-29T14:24:06.713980Z CFPAGESLOG: at Object.onceWrapper (node:events:652:26)
2024-05-29T14:24:06.714109Z CFPAGESLOG: at ChildProcess.emit (node:events:537:28)
2024-05-29T14:24:06.714416Z CFPAGESLOG: at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-05-29T14:24:06.726189Z CFPAGESLOG:Failed: build command exited with code: 1
2024-05-29T14:24:06.729502Z ERROR:root:Unhandled error in step build_assets
2024-05-29T14:24:06.729550Z Traceback (most recent call last):
2024-05-29T14:24:06.730372Z File "/opt/pages/build_tool/main.py", line 205, in run_step
2024-05-29T14:24:06.730390Z step_error = step_fn(config, logs)
2024-05-29T14:24:06.730400Z File "/opt/pages/build_tool/main.py", line 165, in step_build
2024-05-29T14:24:06.730409Z env_vars, memory_limit, logs)
2024-05-29T14:24:06.730419Z File "/opt/pages/build_tool/steps/build_assets.py", line 256, in build_assets
2024-05-29T14:24:06.730428Z raise RuntimeError(errors.ERR_BUILD_COMMAND_FAILED)
Want results from more Discord servers?
Add your server