T
Twenty2d ago
saurav

Error while setting up.....

Hello everyone i was setting up twenty crm on my local system but while doing "npx start" i am getting this error
[0] ✓ built in 6.71s [0] [0] > nx run twenty-ui:build [existing outputs match the cache, left as is] [0] [0] vite v5.4.0 building for production... [0] transforming... [0] src/display/avatar/components/Avatar.tsx (1:23): A comment [0] [0] "/#PURE/" [0] [0] in "src/display/avatar/components/Avatar.tsx" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. [0] src/display/avatar/components/Avatar.tsx (1:23): A comment [0] [0] "/#PURE/" [0] [0] in "src/display/avatar/components/Avatar.tsx" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. [0] src/display/avatar/components/Avatar.tsx (1:23): A comment and at the end it gets stuck like this: [0] Frontend build not found, assuming it is served independently [0] query: SELECT * FROM current_schema() [0] query: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" [0] query: SELECT version(); [0] query: SELECT * FROM current_schema() [0] query: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" [0] query: SELECT version(); [0] Error: listen EADDRINUSE: address already in use :::3000 [0] at Server.setupListenHandle [as _listen2] (node:net:1817:16) [0] at listenInCluster (node:net:1865:12) [0] at Server.listen (node:net:1953:7) [0] at ExpressAdapter.listen (/home/saurav/twenty/node_modules/@nestjs/platform-express/adapters/express-adapter.js:88:32) [0] at /home/saurav/twenty/node_modules/@nestjs/core/nest-application.js:180:30 [0] at new Promise (<anonymous>) [0] at NestApplication.listen (/home/saurav/twenty/node_modules/@nestjs/core/nest-application.js:169:16) [0] at processTicksAndRejections (node:internal/process/task_queues:95:5) [0] at bootstrap (/home/saurav/twenty/packages/twenty-server/src/main.ts:90:3) plz help
5 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS2d ago
You have other app listening on port 3000
saurav
sauravOP2d ago
i took your advice [0] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory [0] 1: 0xb9bbf0 node::Abort() [node] [0] 2: 0xaa27ee [node] [0] 3: 0xd734a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node] [0] 4: 0xd73847 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [node] [0] 5: 0xf50c55 [node] [0] 6: 0xf51b58 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node] [0] 7: 0xf62053 [node] [0] 8: 0xf62ec8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node] now this error i am getting , i have followed the docs of troubleshooting and uncommented the lines but still this error is coming , my pc has 8gb ram so i cant give much memory. what should i do please help?
saurav
sauravOP2d ago
i have done this but still same error
Prastoin
Prastointhis hour
Hello @saurav, please double check you have correctly disable vite lint checker Also please start the app by starting each element on their own such as npx nx start twenty-front Ps: please format your logs using mardown

Did you find this page helpful?