nxtend-team / nxtend

MIT License
190 stars 41 forks source link

@nxtend/capacitor: error when using capacitor (any commands) #640

Closed yannickcare closed 1 year ago

yannickcare commented 1 year ago

In my nx.js project, I have an Angular 14 Capacitor application, which compiles correctly and runs on web, but when doing a cap:sync (or any cap:commands) I am getting the following error:

`

nx run caregiver:sync:ios --verbose=true

NX Cannot find module 'nx/src/utils/app-root'

Require stack:

Error: Cannot find module 'nx/src/utils/app-root' Require stack:

`

yannickcare commented 1 year ago

NX Report:

`

NX Report complete - copy this into the issue template

Node : 16.16.0 OS : darwin x64 npm : 6.14.12

nx : 14.4.3 @nrwl/angular : 14.4.3 @nrwl/cypress : 14.4.3 @nrwl/detox : Not Found @nrwl/devkit : 14.4.3 @nrwl/eslint-plugin-nx : 14.4.3 @nrwl/express : Not Found @nrwl/jest : 14.4.3 @nrwl/js : 14.4.3 @nrwl/linter : 14.4.3 @nrwl/nest : 14.4.3 @nrwl/next : 14.4.3 @nrwl/node : 14.4.3 @nrwl/nx-cloud : Not Found @nrwl/nx-plugin : Not Found @nrwl/react : 14.4.3 @nrwl/react-native : Not Found @nrwl/schematics : Not Found @nrwl/storybook : 14.4.3 @nrwl/web : 14.4.3 @nrwl/workspace : 14.4.3 typescript : 4.7.4

Community plugins: @alyle/ui: 13.2.2 @fortawesome/angular-fontawesome: 0.9.0 @ngrx/effects: 14.0.2 @ngrx/schematics: 14.0.2 @ngrx/store: 14.0.2 @ngrx/store-devtools: 14.0.2 @nxtend/capacitor: 13.0.0 devextreme-angular: 21.1.3 devextreme-schematics: 1.4.2 `

yannickcare commented 1 year ago

Duplicate issue