BuildingAI icon indicating copy to clipboard operation
BuildingAI copied to clipboard

安装部署完成后,无法运行?

Open wyichun opened this issue 1 year ago • 7 comments

Image Image Image

wyichun avatar Aug 20 '25 11:08 wyichun

我也是这个问题,等待几分钟后仍然无法打开页面

E2E-AK-OI avatar Aug 20 '25 11:08 E2E-AK-OI

查看docker日志看看

lwimanutd avatar Aug 20 '25 12:08 lwimanutd

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

----- Native stack trace -----

 1: 0xe36196 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]

 2: 0x123f4a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]

 3: 0x123f777 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]

 4: 0x146d1a5  [node]

 5: 0x1486a19 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]

 6: 0x145b0e8 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]

 7: 0x145c015 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]

 8: 0x1434cee v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]

 9: 0x18962ec v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]

10: 0x1df2476  [node]

/fastbuildai/apps/server:

 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @.*** build: NODE_ENV=production nest build -b swc --type-check

Exit status 129

🚀 Starting FastbuildAI container...

🔍 Debug: QUICK_START_MODE = [false]

🧹 Cleaning node_modules (QUICK_START_MODE=false)...


貌似JavaScript 堆内存不足

     原始邮件

发件人:lwimanutd @.> 发件时间:2025年8月20日 20:09 收件人:FastbuildAI/FastbuildAI @.> 抄送:E2E-AK-OI @.>, Comment @.> 主题:Re: [FastbuildAI/FastbuildAI] 安装部署完成后,无法运行? (Issue #7)

lwimanutd left a comment (FastbuildAI/FastbuildAI#7)

查看docker日志看看

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

E2E-AK-OI avatar Aug 20 '25 13:08 E2E-AK-OI

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory <--- JS 堆栈跟踪 --->

FATAL ERROR: 达到堆限制 分配失败 - JavaScript 堆内存溢出 …

把 docker 的内存调大一些,前端打包需要大内存。 .env.production.local的 docker 内存也调大

ii517 avatar Aug 21 '25 01:08 ii517

Image 还是不行的

wyichun avatar Aug 21 '25 05:08 wyichun

Image 还是不行的

试试 devloop 分支的代码,看看 nodejs 里面的日志

ii517 avatar Aug 21 '25 05:08 ii517

这个问题我们已经进行优化,尝试重新拉取最新的代码以及复制最新的.env.production.local.example进行重新配置再尝试呢

CatKeee avatar Aug 25 '25 01:08 CatKeee