https://www.activepieces.com logo
Hi team, I am facing issue trying to
# 🧩|building-pieces
g
Hi team, I am facing issue trying to setup the local env to implement new pieces [API] NX Running target build for project pieces-store and 2 tasks it depends on failed [API] Tasks not run because their dependencies failed or --nx-bail=true: [API] - pieces-store:build [API] Failed tasks: [API] - pieces-framework:build [API] [16:56:54 UTC] INFO: Failed to run build process... [API] err: { [API] "type": "Error", [API] "message": "Process exited with code 130", [API] "stack": [API] Error: Process exited with code 130 [API] at ChildProcess. (/Users/gilles/Development/activepieces/dist/packages/server/api/webpack:/worker/src/lib/piece-manager/development/pieces-builder.ts:93:24) [API] at ChildProcess.emit (node:events:524:28) [API] at ChildProcess.emit (node:domain:489:12) [API] at maybeClose (node:internal/child_process:1104:16) [API] at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) [API] } I am not really familiar with NX, but it seems to be caused by errors that happen in a lot of different imports "'rootDir' is expected to contain all source files." Do you have any idea about what I am missing ?
a
Hi @gilles5005 are you developing on MacOS ?
g
yes
a
currently the dev env on MacOS isn't the best, we are trying to get it fixed, if you would like you can use github codespaces to develop your piece
g
OK thanks, is there a local workaround with docker compose ?
a
there is the dev container
you can try
g
ok I will have a try with dev container then