nx
nx copied to clipboard
@swc/core peer dependency warnings on fresh Nx 18.3.4 setup for angular/esbuild (windows)
Current Behavior
It could be annoying, but not critical. While you install a package you end up with this:
Expected Behavior
it should not run warnings on any npm install
Solution is quite simple: change the dependency to be @swc/core@^1.4.13
after that warnings are gone:
GitHub Repo
No response
Steps to Reproduce
- npx create-nx-workspace@latest
- setup an Angular monorepo with esbuild, and playwright
- enter in your workspace, remove node_modules, run
npm i
Nx Report
NX Report complete - copy this into the issue template
Node : 20.10.0
OS : win32-x64
npm : 10.2.3
nx (global) : 18.0.4
nx : 18.3.4
@nx/js : 18.3.4
@nx/jest : 18.3.4
@nx/linter : 18.3.4
@nx/eslint : 18.3.4
@nx/workspace : 18.3.4
@nx/angular : 18.3.4
@nx/devkit : 18.3.4
@nx/eslint-plugin : 18.3.4
@nx/playwright : 18.3.4
@nrwl/tao : 18.3.4
@nx/web : 18.3.4
@nx/webpack : 18.3.4
typescript : 5.4.5
---------------------------------------
Registered Plugins:
@nx/playwright/plugin
@nx/eslint/plugin
Failure Logs
No response
Package Manager Version
npm 10.2.3
Operating System
- [ ] macOS
- [ ] Linux
- [X] Windows
- [ ] Other (Please specify)
Additional Information
No response