Move NX workspace from folder to root directory #34297
Unanswered
muriukialex
asked this question in
Questions
Replies: 1 comment 1 reply
|
After moving the files manually to the root directory, I get this error npx nx run host:keycloak --verbose
NX Cannot find configuration for task host:keycloak
Error: Cannot find configuration for task host:keycloak
at ProcessTasks.createTask (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/create-task-graph.js:191:19)
at ProcessTasks.processTasks (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/create-task-graph.js:37:39)
at createTaskGraph (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/create-task-graph.js:224:21)
at createTaskGraphAndRunValidations (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/run-command.js:267:63)
at ensureWorkspaceIsInSyncAndGetGraphs (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/run-command.js:390:21)
at runCommandForTasks (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/run-command.js:331:47)
at /home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/run-command.js:303:50
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async handleErrors (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/utils/handle-errors.js:8:24)
at async runCommand (/home/muriuki/Desktop/gitlab-slade360emr/advantage-frontend/node_modules/nx/src/tasks-runner/run-command.js:294:20)The host folder contains a "keycloak": {
"executor": "nx:run-commands",
"options": {
"command": "cp -f apps/host/src/app/app.module.keycloak.ts apps/host/src/app/app.module.ts"
}
}, |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to move an NX workspace from a folder named
my-workspaceto the root level of the project, eg.my-workspace contains the folders and files below
Such that, on moving the workspace to the root level, the below becomes the folder/files structure
All reactions