-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hi,
Got some issues installing a new project:
npx nx generate @nstudio/xplat:init --skipInstall --platforms web,nativescript,electron --framework angular --prefix ecs
NX Generating @nstudio/xplat:init
⠹ Installing packages (npm)...npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular-devkit/[email protected]
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR! dev @angular-devkit/build-angular@"17.3.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular-devkit/build-angular@">= 14.0.0 < 17.0.0" from @nx/[email protected]
npm ERR! node_modules/@nx/angular
npm ERR! dev @nx/angular@"17.0.1" 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.
I tried adding --skipInstall, but didn't work.
npx nx report
npx nx report
NX Report complete - copy this into the issue template
Node : 21.6.2
OS : darwin-arm64
npm : 10.2.4
nx : 18.2.1
@nx/js : 18.2.1
@nx/jest : 18.2.1
@nx/linter : 18.2.1
@nx/eslint : 18.2.1
@nx/workspace : 18.2.1
@nx/angular : 18.2.1
@nx/cypress : 18.2.1
@nx/devkit : 18.2.1
@nx/eslint-plugin : 18.2.1
@nrwl/tao : 18.2.1
@nx/web : 18.2.1
@nx/webpack : 18.2.1
typescript : 5.4.3
---------------------------------------
Community plugins:
@nstudio/angular : 17.0.1
@nstudio/electron : 17.0.1
@nstudio/electron-angular : 17.0.1
@nstudio/nativescript : 17.0.1
@nstudio/nativescript-angular : 17.0.1
@nstudio/schematics : 17.0.1
@nstudio/web : 17.0.1
@nstudio/web-angular : 17.0.1
@nstudio/xplat : 17.0.1
When running init @nx/angular is downgraded to 17.0.1:
├── @nx/[email protected] invalid: "17.0.1" from the root project
Do you need to update xplat to support latest NX/Angular? https://github.com/nstudio/xplat/blob/main/package.json#L53
Thanks!
Metadata
Metadata
Assignees
Labels
No labels