- Version:v10.15.3(but I have tries other version also, I got the same issue)
- Platform: Windows 7 Professional, 64-bit Operating System
- Subsystem:
Hi there,
After I installed the node js v10.15.3, if I run"node -v", it will successfully show the node version, but If I run any npm command, I will got the below error:
$ node -v
v10.15.3
$ npm -v
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 000000013FB1F04A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+5114
2: 000000013FAFA0C6 node::MakeCallback+4518
3: 000000013FAFAA30 node_module_register+2032
4: 000000013FD820EE v8::internal::FatalProcessOutOfMemory+846
5: 000000013FD8201F v8::internal::FatalProcessOutOfMemory+639
6: 00000001402A2BC4 v8::internal::Heap::MaxHeapGrowingFactor+9556
7: 0000000140299C46 v8::internal::ScavengeJob::operator=+24310
8: 000000014029829C v8::internal::ScavengeJob::operator=+17740
9: 000000014029E1B7 v8::internal::Heap::CreateFillerObjectAt+1175
10: 000000014012C5B3 v8::internal::interpreter::Interpreter::GetDispatchCountersObject+78451
11: 000000013FA81132 v8::internal::StackGuard::ArchiveSpacePerThread+52082
12: 000000013FA817F3 v8::internal::StackGuard::ArchiveSpacePerThread+53811
13: 000000013FB61474 uv_dlerror+2436
14: 000000013FB621D8 uv_run+232
15: 000000013FB0128E node::NewContext+1390
16: 000000013FB0189B node::NewIsolate+603
17: 000000013FB01D07 node::Start+839
18: 000000013F9B935C node::MultiIsolatePlatform::MultiIsolatePlatform+604
19: 000000014055A93C v8::internal::compiler::OperationTyper::ToBoolean+134796
20: 0000000076DC556D BaseThreadInitThunk+13
21: 000000007702385D RtlUserThreadStart+29
6.4.1
I have tried other versions also, still get the same issue. And My colleagues have installed the same version on the similar platform, the node and npm works fine on their computer. I have googled this issue, but none can revolve the issue on my computer.
Hi there,
After I installed the node js v10.15.3, if I run"node -v", it will successfully show the node version, but If I run any npm command, I will got the below error:
$ node -v
v10.15.3
$ npm -v
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 000000013FB1F04A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+5114
2: 000000013FAFA0C6 node::MakeCallback+4518
3: 000000013FAFAA30 node_module_register+2032
4: 000000013FD820EE v8::internal::FatalProcessOutOfMemory+846
5: 000000013FD8201F v8::internal::FatalProcessOutOfMemory+639
6: 00000001402A2BC4 v8::internal::Heap::MaxHeapGrowingFactor+9556
7: 0000000140299C46 v8::internal::ScavengeJob::operator=+24310
8: 000000014029829C v8::internal::ScavengeJob::operator=+17740
9: 000000014029E1B7 v8::internal::Heap::CreateFillerObjectAt+1175
10: 000000014012C5B3 v8::internal::interpreter::Interpreter::GetDispatchCountersObject+78451
11: 000000013FA81132 v8::internal::StackGuard::ArchiveSpacePerThread+52082
12: 000000013FA817F3 v8::internal::StackGuard::ArchiveSpacePerThread+53811
13: 000000013FB61474 uv_dlerror+2436
14: 000000013FB621D8 uv_run+232
15: 000000013FB0128E node::NewContext+1390
16: 000000013FB0189B node::NewIsolate+603
17: 000000013FB01D07 node::Start+839
18: 000000013F9B935C node::MultiIsolatePlatform::MultiIsolatePlatform+604
19: 000000014055A93C v8::internal::compiler::OperationTyper::ToBoolean+134796
20: 0000000076DC556D BaseThreadInitThunk+13
21: 000000007702385D RtlUserThreadStart+29
6.4.1
I have tried other versions also, still get the same issue. And My colleagues have installed the same version on the similar platform, the node and npm works fine on their computer. I have googled this issue, but none can revolve the issue on my computer.