以及,在我忽略以上警告后,进行编译,依旧报错。请问这是否和上面的警告有关呢?错误信息如下:
root@FD:~/Cloudreve/assets# yarn build
<--- Last few GCs --->
[6455:0x147d9d0] 101533 ms: Mark-sweep 1359.8 (1445.8) -> 1350.7 (1448.8) MB, 865.3 / 0.0 ms (average mu = 0.122, current mu = 0.042) allocation failure scavenge might not succeed
[6455:0x147d9d0] 102431 ms: Mark-sweep 1362.4 (1448.8) -> 1353.3 (1451.8) MB, 849.1 / 0.0 ms (average mu = 0.090, current mu = 0.055) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x245a77fd452b]
1: StubFrame [pc: 0x245a77f225d4]
Security context: 0x09a180e2ee11 <JSObject>
2: /* anonymous */(aka /* anonymous */) [0x1bb91fb52c09] [/root/Cloudreve/assets/node_modules/webpack-sources/lib/applySourceMap.js:~58] [pc=0x245a790d1daf](this=0x03a9273825d9 <undefined>,chunk=0x154ddfedaa51 <String[2]: i,>,middleMapping=0x16187ba1c1f1 <Object map = 0x1cdc37b54fd9>)
3: SourceNode_walk [0xb90232...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x7f93cb89546c node::Abort() [/lib/x86_64-linux-gnu/libnode.so.64]
2: 0x7f93cb8954b5 [/lib/x86_64-linux-gnu/libnode.so.64]
3: 0x7f93cbac1e6a v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/lib/x86_64-linux-gnu/libnode.so.64]
4: 0x7f93cbac20e1 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/lib/x86_64-linux-gnu/libnode.so.64]
5: 0x7f93cbe5cc66 [/lib/x86_64-linux-gnu/libnode.so.64]
6: 0x7f93cbe6e043 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/lib/x86_64-linux-gnu/libnode.so.64]
7: 0x7f93cbe6e930 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/lib/x86_64-linux-gnu/libnode.so.64]
8: 0x7f93cbe7091d v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/lib/x86_64-linux-gnu/libnode.so.64]
9: 0x7f93cbe70975 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/lib/x86_64-linux-gnu/libnode.so.64]
10: 0x7f93cbe3cdda v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/lib/x86_64-linux-gnu/libnode.so.64]
11: 0x7f93cc0c831e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/lib/x86_64-linux-gnu/libnode.so.64]
12: 0x245a77fd452b
Aborted
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.