https://www.activepieces.com logo
Development setup - Activepieces
# 🐶|general
x
hi. I'm trying to install dev environment locally with latest main, tried 0.79.1 and 0.79.0. I follow https://www.activepieces.com/docs/build-pieces/building-pieces/development-setup but app can't start. This instruction works for 0.78.2 Can someone help with installation instruction for the latest versions?
k
Hey @xdm can you share any error you see in the logs after starting the server?
x
$ node tools/setup-dev.js Running on linux operating system. Node.js version is compatible v22.22.0. ✅ Bun is already installed. bun install v1.3.10 (30e609e0) $ npm start ... [API] api:serve: cache bypass, force executing 889c4e3efba8bba2 [API] api:serve: $ cd ../../.. && bun x tsx watch --exclude 'packages/pieces/**' --exclude 'packages/**/dist/**' --tsconfig packages/server/api/tsconfig.app.json packages/server/api/src/bootstrap.ts [API] api:serve: [API] api:serve: node:internal/modules/run_main:123 [API] api:serve: triggerUncaughtException( [API] api:serve: ^ [API] api:serve: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/tmp/activepieces/packages/pieces/community/index.json' imported from /tmp/activepieces/ [API] api:serve: at finalizeResolution (node:internal/modules/esm/resolve:274:11) [API] api:serve: at moduleResolve (node:internal/modules/esm/resolve:859:10) [API] api:serve: at defaultResolve (node:internal/modules/esm/resolve:983:11) [API] api:serve: at nextResolve (node:internal/modules/esm/hooks:748:28) [API] api:serve: at resolveExtensions (file:///tmp/activepieces/node_modules/.bun/tsx@4.21.0/node_modules/tsx/dist/esm/index.mjs?1772725410032:2:3251) [API] api:serve: at async resolveDirectory (file:///tmp/activepieces/node_modules/.bun/tsx@4.21.0/node_modules/tsx/dist/esm/index.mjs?1772725410032:2:4428) [API] api:serve: at async resolve (file:///tmp/activepieces/node_modules/.bun/tsx@4.21.0/node_modules/tsx/dist/esm/index.mjs?1772725410032:2:5355) [API] api:serve: at async nextResolve (node:internal/modules/esm/hooks:748:22) [API] api:serve: at async Hooks.resolve (node:internal/modules/esm/hooks:240:24) [API] api:serve: at async handleMessage (node:internal/modules/esm/worker:199:18) { [API] api:serve: code: 'ERR_MODULE_NOT_FOUND', [API] api:serve: url: 'file:///tmp/activepieces/packages/pieces/community/index.json' [API] api:serve: } [API] api:serve: [API] api:serve: Node.js v22.22.0
I have tried with node version 18, 22 and 24. with 18 and 22 error is the same, with 24 bun can't even install all dependenceies because of V8 incompatibilities
For those who experience the same issue: The problem was caused by a local mix of Node/NPM versions with incorrect dependency resolution. Migrating to NVM and reinstalling everything after removing the node_modules folder helped.
2 Views