Skip to content

Commit e54aa9d

Browse files
authored
Fix rimraf not cleaning dist properly (#14903)
trying to solve build errors when launching commands ```console > nx run twenty-shared:generateBarrels [existing outputs match the cache, left as is] > nx run twenty-shared:build [existing outputs match the cache, left as is] > nx run twenty-emails:build [existing outputs match the cache, left as is] > nx run twenty-server:typecheck > tsc -b tsconfig.json --incremental > nx run twenty-server:build > rimraf dist > nest build --path ./tsconfig.build.json > SWC Running... [Error: ENOTEMPTY: directory not empty, rmdir '/Users/martinmuller/Desktop/twenty/packages/twenty-server/dist/src/modules'] { errno: -66, code: 'ENOTEMPTY', syscall: 'rmdir', path: '/Users/martinmuller/Desktop/twenty/packages/twenty-server/dist/src/modules' } ```
1 parent 93d55d1 commit e54aa9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/twenty-server/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"cache": true,
1010
"options": {
1111
"cwd": "packages/twenty-server",
12+
"parallel": false,
1213
"commands": ["rimraf dist", "nest build --path ./tsconfig.build.json"]
1314
},
1415
"dependsOn": ["^build"]

0 commit comments

Comments
 (0)