当我创建版本时,出现以下错误

时间:2019-01-03 14:39:06

标签: javascript node.js reactjs

bhaskar @ usha-st:〜/ Documents / cpp / newcppbb / CPPN $ npm运行构建

  

cpp-web@0.1.0 build / home / bhaskar / Documents / cpp / newcppbb / CPPN   反应脚本构建

创建优化的生产版本...

<---后几个GC --->

[24595:0x3de7660] 99277 ms:标记扫描1283.3(1451.9)-> 1274.8(1455.9)MB,819.4 / 0.0 ms(平均mu = 0.100,当前mu = 0.028)分配失败清除可能不会成功 [24595:0x3de7660] 100399毫秒:标记扫描1286.8(1455.9)-> 1278.6(1455.9)MB,1101.1 / 0.0毫秒(平均亩= 0.054,当前亩= 0.018)分配失败清除操作可能不会成功

<--- JS堆栈跟踪--->

==== JS堆栈跟踪======================================== =

0: ExitFrame [pc: 0x2fb0b5d041bd]
1: StubFrame [pc: 0x2fb0b5d07de1]

安全上下文:0x23c46a81e789     2:SourceMapGenerator_serializeMappings [0x3321d7d42d39] [/home/bhaskar/Documents/cpp/newcppbb/CPPN/node_modules/source-map/lib/source-map-generator.js:~303] [pc = 0x2fb0b794c48d](this = 0x1c85a617a0c1     3:SourceMapGenerator_toJSON [0x3321d7d42db9] [/ home / bhaskar / Documents / cp ...

致命错误:接近堆限制的无效标记紧凑分配失败-JavaScript堆内存不足  1:0x8b8210节点:: Abort()[节点]  2:0x8b825c [node]  3:0xac1d1e v8 :: Utils :: ReportOOMFailure(v8 :: internal :: Isolate *,char const *,bool)[node]  4:0xac1f38 v8 :: internal :: V8 :: FatalProcessOutOfMemory(v8 :: internal :: Isolate *,char const *,bool)[node]  5:0xeb11f2 [node]  6:0xebd14a v8 :: internal :: Heap :: PerformGarbageCollection(v8 :: internal :: GarbageCollector,v8 :: GCCallbackFlags)[node]  7:0xebdab4 v8 :: internal :: Heap :: CollectGarbage(v8 :: internal :: AllocationSpace,v8 :: internal :: GarbageCollectionReason,v8 :: GCCallbackFlags)[node]  8:0xec03e5 v8 :: internal :: Heap :: AllocateRawWithRetry(int,v8 :: internal :: AllocationSpace,v8 :: internal :: AllocationAlignment)[节点]  9:0xe888c4 v8 :: internal :: Factory :: NewFillerObject(int,bool,v8 :: internal :: AllocationSpace)[节点] 10:0x112a2ae v8 :: internal :: Runtime_AllocateInNewSpace(int,v8 :: internal :: Object **,v8 :: internal :: Isolate *)[节点] 11:0x2fb0b5d041bd npm ERR!代码ELIFECYCLE npm ERR! errno 1 npm ERR! cpp-web@0.1.0构建:react-scripts build npm ERR!退出状态1 npm ERR! npm ERR!在cpp-web@0.1.0生成脚本处失败。 npm ERR! npm可能不是问题。上面可能还有其他日志记录输出。

npm错误!可以在以下位置找到此运行的完整日志:

0 个答案:

没有答案