Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nx format fails without error #22901

Open
1 of 4 tasks
de-don opened this issue Apr 19, 2024 · 0 comments
Open
1 of 4 tasks

Nx format fails without error #22901

de-don opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels

Comments

@de-don
Copy link

de-don commented Apr 19, 2024

Current Behavior

On CI step, when too many changed files (approx 3k files), command nx format:check --base=xxx fails without any errors:

> cross-var nx format:check --base=$npm_config_base_branch
ERROR: Job failed: exit code 1

but locally all works fine (without any errors).

I have checked getconf ARG_MAX and also tries to apply patch-package with next patch, but it doen't help

-function chunkify(target, maxChunkLength = TERMINAL_SIZE - 500) {
+function chunkify(target, maxChunkLength = TERMINAL_SIZE / 2 - 500) {

Expected Behavior

format succeeded without errors

GitHub Repo

No response

Steps to Reproduce

  1. Do many changes in repo (approx 3k files)
  2. Run nx format:check --base=XXX on CI

Nx Report

(local machine)

 NX   Report complete - copy this into the issue template

Node   : 18.18.2
OS     : darwin-arm64
npm    : 9.8.1

nx                 : 18.1.2
@nx/js             : 18.1.2
@nx/jest           : 18.1.2
@nx/linter         : 18.1.2
@nx/eslint         : 18.1.2
@nx/workspace      : 18.1.2
@nx/angular        : 18.1.2
@nx/cypress        : 18.1.2
@nx/devkit         : 18.1.2
@nx/eslint-plugin  : 18.1.2
@nx/plugin         : 18.1.2
@nx/storybook      : 18.1.2
@nrwl/tao          : 18.1.2
@nx/web            : 18.1.2
@nx/webpack        : 18.1.2
nx-cloud           : 18.0.0
typescript         : 4.9.5
---------------------------------------
Community plugins:
@compodoc/compodoc     : 1.1.19
@front/angular-builder : 16.1.0
@storybook/angular     : 7.6.14
nx-stylelint           : 17.1.4
---------------------------------------
Local workspace plugins:
         @mono/generators
         @mono/executors
         @mono/utils

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants