WARNING in Circular dependency detected:
libs\backend\src\lib\entities\courses.entity.ts -> libs\backend\src\lib\entities\student.entity.ts -> libs\backend\src\lib\entities\courses.entity.ts
WARNING in Circular dependency detected:
libs\backend\src\lib\entities\student.entity.ts -> libs\backend\src\lib\entities\courses.entity.ts -> libs\backend\src\lib\entities\student.entity.ts
nx serve anyapp
-> nx run anyapp:serve
or so.
nx affected:build
this only runs when there is changes. I want to create a build for all of my application what is the script for that ?
Hi Everyone!
Perhaps I'm missing something fundamental, however I can't seem to create a production
build of Storybook.
I'm using Angular and Storybook builds fine in development mode using nx run fe-app01:build-storybook
Has anyone had experience with this, please?
Hello everyone. I am trying to migrate a bigger project to nx. And it actually is working using npx create-nx-workspace --preset=angular
- except for the unit tests. Currently we are using karma instead of jest. So I thought, I'll do it step by step and first start using nx with karma. So I made another try with:
npx create-nx-workspace Name1 --preset=empty
nx generate @nrwl/angular:app Name2 --unit-test-runner=karma
And I hoped that this would give me the same output as npx create-nx-workspace --preset=angular"
only that it is now using karma instead of jest.
But unfortunately I have no angular.json now. I read already that in this case I have the nx-cli instead of the angular-cli and that this is the reason for the missing angular.json but I actually want an angular.json and the angular-cli as I want as minimal changes in the migration step as possible. First I want to have the current project up and running with anguular-cli/angular.json and karma.
How can I do that? How to generate an angular.json? How to activate the angular-cli? Or is there another way to achieve my goal?
node --inspect-brk ./node_modules/nx/bin/nx test customers-users
I see the error as Could not load content for file:///C:/Projects/GitHub/nx-repo/myorg/packages/nx/bin/nx.ts (System error: net::ERR_FILE_NOT_FOUND)