-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Current Behavior
Whenever any Nx target (build, lint, test, format:check) is invoked via GitHub Actions, the process hangs. There is no error output or crash; the job simply reaches the GitHub runner timeout limit (or is manually canceled) after long periods of inactivity.
Environment:
Nx Version: 22.13.1
Next.js Version: 16.0.10
Vercel CLI: 50.1.3
Node Version: 22.x
Runner: ubuntu-latest (GitHub-hosted)
The Nx task should initialize the project graph and execute the target, providing standard output logs.
Expected Behavior
The process stops providing logs immediately after the command is invoked. In the provided log, Vercel CLI triggers the command, but Nx never moves past the initialization phase.
I have confirmed that setting NX_DAEMON=false and NX_IS_OFFLINE=true does/does not resolve the hang.
GitHub Repo
No response
Steps to Reproduce
- nx build ssg --verbose # or. any Nx command times out without additional output Ssg is a Next 16 web app.
Nx Report
When run from my Mac M4 Pro
NX Report complete - copy this into the issue template
Node : 22.13.1
OS : darwin-arm64
Native Target : aarch64-macos
npm : 10.9.2
nx : 22.3.3
@nx/js : 22.3.3
@nx/eslint : 22.3.3
@nx/workspace : 22.3.3
@nx/jest : 22.3.3
@nx/devkit : 22.3.3
@nx/esbuild : 22.3.3
@nx/eslint-plugin : 22.3.3
@nx/module-federation : 22.3.3
@nx/nest : 22.3.3
@nx/next : 22.3.3
@nx/node : 22.3.3
@nx/playwright : 22.3.3
@nx/react : 22.3.3
@nx/rollup : 22.3.3
@nx/vite : 22.3.3
@nx/vitest : 22.3.3
@nx/web : 22.3.3
@nx/webpack : 22.3.3
@nx/docker : 22.3.3
nx-cloud : 19.1.0
@nrwl/nx-cloud : 19.1.0
typescript : 5.9.3
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/next/plugin
@nx-tools/nx-container
---------------------------------------
Community plugins:
@nx-tools/nx-container : 6.9.1
---------------------------------------
Cache Usage: 1.27 GB / 46.04 GBFailure Logs
Run vercel build --target=preview --token ***
Vercel CLI 50.1.3
WARN! Build not running on Vercel. System environment variables will not be available.
Installing dependencies...
> @farvisionllc/[email protected] postinstall
> test -n "$CI" || git config core.hooksPath ./git-hooks
added 26 packages, and changed 3 packages in 9s
407 packages are looking for funding
run `npm fund` for details
Detected Next.js version: 16.0.10
Running "npx nx build ssg --configuration=production --verbose"
Error: The operation was canceled.Package Manager Version
No response
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
No response