Open ghost opened 1 month ago
Linting is sometimes failing in CI, not consistently due to an error with prettier/prettier rule. We're using prettier v3.3.3
prettier/prettier
Should not fail
No response
Nothing specific, just nx affected:lint failing occasionally.
nx affected:lint
Node : 20.15.1 OS : darwin-arm64 yarn : 4.4.1 nx (global) : 19.5.7 nx : 19.0.0 @nx/js : 19.0.0 @nx/jest : 19.0.0 @nx/linter : 19.0.0 @nx/eslint : 19.0.0 @nx/workspace : 19.0.0 @nx/cypress : 19.0.0 @nx/devkit : 19.0.0 @nx/eslint-plugin : 19.0.0 @nx/node : 19.0.0 @nx/plugin : 19.0.0 @nx/react : 19.0.0 @nx/storybook : 19.0.0 @nrwl/tao : 19.0.0 @nx/vite : 19.0.0 @nx/web : 19.0.0 @nx/webpack : 19.0.0 typescript : 5.5.4 --------------------------------------- Community plugins: nx-stylelint : 17.1.5 --------------------------------------- Local workspace plugins: @island/workspace
Linting "utils-arrays"... NX Cannot read properties of undefined (reading 'message') Occurred while linting /home/runner/work/apps/apps/libs/utils/arrays/project.json:1 Rule: "prettier/prettier" Pass --verbose to see the stacktrace.
I have the same problem. I also use node 20 and run the jobs inside the gitlab ci
Current Behavior
Linting is sometimes failing in CI, not consistently due to an error with
prettier/prettier
rule. We're using prettier v3.3.3Expected Behavior
Should not fail
GitHub Repo
No response
Steps to Reproduce
Nothing specific, just
nx affected:lint
failing occasionally.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response