coze-dev / coze-dev/coze-studio
macos npm run dev一直卡住
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
Rush Multi-Project Build Tool 5.147.1 - Node.js 22.16.0 (LTS)
"IS_OPEN_SOURCE=true CUSTOM_VERSION=release rsbuild dev"
Rsbuild v1.1.13
➜ Local: http://localhost:8080/
➜ Network: http://172.23.16.107:8080/
➜ Network: http://170.240.110.110:8080/
➜ Network: http://198.18.0.1:8080/
➜ press h + enter to show shortcuts
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
[HPM] Proxy created: /api -> http://localhost:8888/
[HPM] Proxy created: /v1 -> http://localhost:8888/
start Building...
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
Got 211 contents for tailwind
<--- Last few GCs --->
[15995:0x138008000] 158033 ms: Mark-Compact 3841.8 (4137.0) -> 3827.7 (4140.5) MB, pooled: 0 MB, 765.50 / 0.00 ms (average mu = 0.089, current mu = 0.043) allocation failure; scavenge might not succeed
[15995:0x138008000] 159260 ms: Mark-Compact 3843.7 (4140.5) -> 3830.5 (4144.2) MB, pooled: 0 MB, 1193.38 / 0.00 ms (average mu = 0.052, current mu = 0.028) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x104ec99b4 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/local/bin/node]
2: 0x10509805c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/local/bin/node]
3: 0x1052a7784 v8::internal::Heap::stack() [/usr/local/bin/node]
4: 0x1052bdbfc v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1::operator()() const [/usr/local/bin/node]
5: 0x1052bd490 void heap::base::Stack::SetMarkerAndCallbackImpl<v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1>(heap::base::Stack*, void*, void const*) [/usr/local/bin/node]
6: 0x105a7763c PushAllRegistersAndIterateStack [/usr/local/bin/node]
7: 0x1052a5944 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x10529a10c v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
9: 0x10529a944 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
10: 0x10527dc64 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node]
11: 0x105699714 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
12: 0x105b59af4 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]
13: 0x10bcb4348
14: 0x10beacacc
15: 0x10bca8868
16: 0x10ca8edec
17: 0x10beac8c0
18: 0x105ac2c0c Builtins_JSEntryTrampoline [/usr/local/bin/node]
19: 0x105ac28f4 Builtins_JSEntry [/usr/local/bin/node]
20: 0x1051ff680 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/usr/local/bin/node]
21: 0x1051fefdc v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object) [/usr/local/bin/node]
22: 0x1050ae5c8 v8::Function::Call(v8::Localv8::Context, v8::Localv8::Value, int, v8::Localv8::Value) [/usr/local/bin/node]
23: 0x104dc9cec node::InternalMakeCallback(node::Environment*, v8::Localv8::Object, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context, v8::Localv8::Value) [/usr/local/bin/node]
24: 0x104ddfa7c node::AsyncWrap::MakeCallback(v8::Localv8::Function, int, v8::Localv8::Value) [/usr/local/bin/node]
25: 0x104ecf3cc node::fs::FSReqCallback::Resolve(v8::Localv8::Value) [/usr/local/bin/node]
26: 0x104ed1074 node::fs::AfterScanDir(uv_fs_s*) [/usr/local/bin/node]
27: 0x104ec18b0 node::MakeLibuvRequestCallback<uv_fs_s, void ()(uv_fs_s)>::Wrapper(uv_fs_s*) [/usr/local/bin/node]
28: 0x105a9f300 uv__work_done [/usr/local/bin/node]
29: 0x105aa2db0 uv__async_io [/usr/local/bin/node]
30: 0x105ab65c4 uv__io_poll [/usr/local/bin/node]
31: 0x105aa3318 uv_run [/usr/local/bin/node]
32: 0x104dca4f4 node::SpinEventLoopInternal(node::Environment*) [/usr/local/bin/node]
33: 0x104f12a7c node::NodeMainInstance::Run() [/usr/local/bin/node]
34: 0x104e84a80 node::Start(int, char**) [/usr/local/bin/node]
35: 0x19527ab98 start [/usr/lib/dyld]
Error: An unknown error occurred.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with npm run dev and inspect the rsbuild dev output, especially the point after "Got 211 contents for tailwind". Determine why Node.js reaches the heap limit on macOS and verify that the development build completes without the JavaScript out-of-memory error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system, developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100