You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nx g @nx/workspace:remove employee-e2e
NX Generating @nx/workspace:remove
DELETE apps/employee-e2e/.eslintrc.json
DELETE apps/employee-e2e/playwright.config.ts
DELETE apps/employee-e2e/project.json
DELETE apps/employee-e2e/src/example.spec.ts
DELETE apps/employee-e2e/src
DELETE apps/employee-e2e/tsconfig.json
DELETE apps/employee-e2e
meanstack02@admin meanstacknh % nx g @nx/workspace:remove employee
NX Generating @nx/workspace:remove
NX employee is still a dependency of the following projects:
host-security
Error: employee is still a dependency of the following projects:
host-security
at checkDependencies (/Users/meanstack02/meanstacknh/node_modules/@nx/workspace/src/generators/remove/lib/check-dependencies.js:18:15)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async removeGenerator (/Users/meanstack02/meanstacknh/node_modules/@nx/workspace/src/generators/remove/remove.js:15:5)
at async /Users/meanstack02/meanstacknh/node_modules/nx/src/command-line/generate/generate.js:240:26
at async handleErrors (/Users/meanstack02/meanstacknh/node_modules/nx/src/utils/handle-errors.js:8:24)
at async Object.handler (/Users/meanstack02/meanstacknh/node_modules/nx/src/command-line/generate/command-object.js:13:22)
meanstack02@admin meanstacknh % nx g @nx/workspace:remove login
Package Manager Version
npm --version 10.9.0
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
please request access to repo if you need access
The text was updated successfully, but these errors were encountered:
Current Behavior
SUBJECT: MFE remove remote (nx-console) NX forgets to dismantle the lazy loaded route config
upon removal of remotes
this code should have been deleted but was left behind inside the HOST preventing nx-console from deleting the HOST
HOST ROUTER
Expected Behavior
route config should be deleted upon removal of a remote so the host can gracefully be removed
GitHub Repo
https://github.com/nhhockeyplayer/meanstacknh
Steps to Reproduce
create host
nx g @nx/angular:host --directory=apps/host-security --name=host-security --backendProject=gqlBff --dynamic=true --e2eTestRunner=cypress --inlineStyle=true --inlineTemplate=true --skipTests=true --style=scss --tags=host --no-interactive
create remote
nx g @nx/angular:remote --directory=apps/login --host=host-security --name=login --backendProject=gqlbff --skipTests=true --style=scss --tags=remote --viewEncapsulation=Emulated --no-interactive
create remote
nx g @nx/angular:remote --directory=apps/employee --host=host-security --name=employee --backendProject=gqlbff --skipTests=true --style=scss --tags=remote --viewEncapsulation=Emulated --no-interactive
nx g @nx/workspace:remove login
nx g @nx/workspace:remove employee
Nx Report
Failure Logs
Package Manager Version
npm --version 10.9.0
Operating System
Additional Information
please request access to repo if you need access
The text was updated successfully, but these errors were encountered: