Describe the bug
I installed a new mono-repo with nx but nx-electron can't be added.
To Reproduce
Steps to reproduce the behavior:
Type: npx create-nx-workspace@latest (It will install 18.0.4)
Go in the folder of the app created
Type: npm i -D nx-electron
Error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @platform/source@0.0.0
npm ERR! Found: @nx/workspace@18.0.4
npm ERR! node_modules/@nx/workspace
npm ERR! dev @nx/workspace@"18.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nx/workspace@"^17" from nx-electron@17.0.1
npm ERR! node_modules/nx-electron
npm ERR! dev nx-electron@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! A complete log of this run can be found in: C:\Users\me\AppData\Local\npm-cache_logs\2024-02-15T03_12_46_542Z-debug-0.log
Expected behavior
nx-elctron should install normally
Screenshots
Desktop (please complete the following information):
OS: Windows
Nx Electron Version: latest available using npm i -D nx-electron
Describe the bug I installed a new mono-repo with nx but nx-electron can't be added.
To Reproduce Steps to reproduce the behavior:
Error: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: @platform/source@0.0.0 npm ERR! Found: @nx/workspace@18.0.4 npm ERR! node_modules/@nx/workspace npm ERR! dev @nx/workspace@"18.0.4" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @nx/workspace@"^17" from nx-electron@17.0.1 npm ERR! node_modules/nx-electron npm ERR! dev nx-electron@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! A complete log of this run can be found in: C:\Users\me\AppData\Local\npm-cache_logs\2024-02-15T03_12_46_542Z-debug-0.log Expected behavior nx-elctron should install normally
Screenshots
Desktop (please complete the following information):
Additional context Blocker :(