thetaoi
Newbie (in open source) question, how to debug this failures?
Same issue again,
NX Successfully ran target database:migrate for project twenty-server and 2 tasks it depends on (14s)
Nx read the output from the cache instead of running the command for 2 out of 3 tasks.
nx command-no-deps -- cache:flush
nx run twenty-server:command-no-deps cache:flush
node dist/src/command/command.js cache:flushnode:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^ [Error: ENOENT: no such file or directory, scandir '/Users/owaiseimdad/Desktop/MyWorkings(Offline)/opensourcecontribution/twentyosshackerfest/twenty/packages/twenty-server/dist/assets/engine/core-modules/serverless/drivers/constants/base-typescript-project'] { errno: -2, code: 'ENOENT', syscall: 'scandir', path: '/Users/owaiseimdad/Desktop/MyWorkings(Offline)/opensourcecontribution/twentyosshackerfest/twenty/packages/twenty-server/dist/assets/engine/core-modules/serverless/drivers/constants/base-typescript-project' } Node.js v20.12.1 Warning: command "node dist/src/command/command.js cache:flush" exited with non-zero status code ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— NX Ran target command-no-deps for project twenty-server (14s) With additional flags: cache:flush ✖ 1/1 failed ✔ 0/1 succeeded [0 read from cache] Warning: command "nx command-no-deps -- cache:flush" exited with non-zero status code ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— NX Ran target database:reset for project twenty-server and 2 task(s) they depend on (2m) ✖ 1/3 failed ✔ 2/3 succeeded [2 read from cache]
63 replies