Replies: 2 comments
-
Im currently using NX (15.5.0) with Angular (15.1.0) no problems whatsoever. Here's how im initializing my devtools: bootstrapApplication(AppComponent, {
providers: [
environment.production
? []
: {
provide: ENVIRONMENT_INITIALIZER,
multi: true,
useValue() {
const queryClient = inject(QueryClientService);
import('@ngneat/query-devtools').then((m) => {
m.ngQueryDevtools({ queryClient });
});
},
},
// ...
]
}); It would be helpful if you'd provide a repository with that said error. |
Beta Was this translation helpful? Give feedback.
-
It turned out, that nx adds to node_modules react in version 16.4.2, unfortunately our packages needs react 18. I've added "react": "^18.0.0" as a dependency of my angular project which solved my issue. |
Beta Was this translation helpful? Give feedback.
-
Is it possible using devtools with nx? Do we have any version restrictions? I've got two projects using nx and both have the same issue with devtools. The first one uses "@angular/core": "~15.0.0" and "@nrwl/angular": "15.4.2". The second one "@angular/core": "~15.1.0" and "@nrwl/angular": "15.7.1". Problem doesn't exist for plain angular app (without nx).
Beta Was this translation helpful? Give feedback.
All reactions