NPM Command not working i got error allocation failure


(Husain eharaj) #1

Hey team,

I am using first time npm command and i am getting following error with all type of npm command like init, install etc.

Please help me i have done many RND But i did not get solution still.

Below are the error

[bab@server nfapp]$ npm init

Error: ENOMEM: not enough memory, scandir ‘/home/bab/public_html/nfapp’

<— Last few GCs —>

[15171:0x28feaa0] 142 ms: Scavenge 6.3 (10.8) -> 5.2 (11.8) MB, 1.6 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure
[15171:0x28feaa0] 192 ms: Scavenge 7.4 (12.3) -> 6.5 (12.8) MB, 2.6 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure
[15171:0x28feaa0] 247 ms: Scavenge 8.3 (12.8) -> 7.4 (16.8) MB, 11.4 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure

<— JS stacktrace —>
Cannot get stack trace in GC.
FATAL ERROR: NewSpace::Rebalance Allocation failed - JavaScript heap out of memory
Aborted

Thanks,
Husain


(system) #2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.