nx
nx copied to clipboard
fix(js): wrong compiler helper config file path for swc
Fixes a bug that resulted in returning an object instead of a string for JS executors. There is also a helper type introduced that triggers TS to show an error for similar problems.
Also this PR rises the minimum prettier version from 2.7.1 to 2.8.0, because that supports the satisfies TS operator.
I had another PR for this change, but that got messed up by a rebase, so I closed that and opened this one. I wrote some comments there that describe what I did and why: https://github.com/nrwl/nx/pull/22335 . Also, since I created that PR many things have changed in the master branch which allows this PR to be even simpler.
Current Behavior
Currently build processes fail with this error message: The "path" argument must be of type string or an instance of Buffer or URL. Received an instance of Object .
I am experiencing it with a NestJS project.
Expected Behavior
Builds pass without problems.
Related Issue(s)
https://github.com/nrwl/nx/issues/22160
Fixes #22160
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| nx-dev | ⬜️ Ignored (Inspect) | Visit Preview | Jun 5, 2024 1:34pm |
☁️ Nx Cloud Report
CI is running/has finished running commands for commit c1f3a21d99b17db4abdd2acdaba1d0dc39c8d187. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 6 targets
nx affected --targets=e2e,e2e-ci --base=0c1e2e08f434b08f165c22b04015515a57e4aa1e --head=c1f3a21d99b17db4abdd2acdaba1d0dc39c8d187 --parallel=1nx affected --targets=lint,test,build --base=0c1e2e08f434b08f165c22b04015515a57e4aa1e --head=c1f3a21d99b17db4abdd2acdaba1d0dc39c8d187 --parallel=3nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dtenx-cloud record -- nx format:check --base=0c1e2e08f434b08f165c22b04015515a57e4aa1e --head=c1f3a21d99b17db4abdd2acdaba1d0dc39c8d187nx documentation --no-dtenx affected -t e2e-macos-ci --parallel=1 --base=0c1e2e08f434b08f165c22b04015515a57e4aa1e --head=c1f3a21d99b17db4abdd2acdaba1d0dc39c8d187
Sent with 💌 from NxCloud.
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.