TwentyT
Twenty2y ago
35 replies
ɃØĦɆᵾS

npx nx workspace:seed:demo doesn't exist

I'm trying to write automated scenario according to bullet points here but I can't seed my database by running npx nx workspace:seed:demo (command taken from https://github.com/twentyhq/twenty/discussions/6467), is this command correct?

Logs from --verbose:
Error: Cannot find configuration for task twenty:workspace:seed:demo
    at ProcessTasks.createTask (/home/user/Desktop/projects/twenty/node_modules/nx/src/tasks-runner/create-task-graph.js:156:19)
    at ProcessTasks.processTasks (/home/user/Desktop/projects/twenty/node_modules/nx/src/tasks-runner/create-task-graph.js:23:39)
    at createTaskGraph (/home/user/Desktop/projects/twenty/node_modules/nx/src/tasks-runner/create-task-graph.js:195:21)
    at createTaskGraphAndValidateCycles (/home/user/Desktop/projects/twenty/node_modules/nx/src/tasks-runner/run-command.js:62:63)
    at /home/user/Desktop/projects/twenty/node_modules/nx/src/tasks-runner/run-command.js:86:27
    at handleErrors (/home/user/Desktop/projects/twenty/node_modules/nx/src/utils/params.js:9:22)
    at runCommand (/home/user/Desktop/projects/twenty/node_modules/nx/src/tasks-runner/run-command.js:83:52)
    at Object.runOne (/home/user/Desktop/projects/twenty/node_modules/nx/src/command-line/run/run-one.js:50:59)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async handleErrors (/home/user/Desktop/projects/twenty/node_modules/nx/src/utils/params.js:9:16)
Was this page helpful?