During bench start I get the following error:
Any hints would be greatly appreciated
Is there a bench command, that reruns yarn
perhaps, that would get me past it?
19:42:20 web.1 | 127.0.0.1 - - [17/Nov/2020 19:42:20] "GET / HTTP/1.0" 404 -
19:42:31 watch.1 | Rebuilding erpnext.css
19:42:34 watch.1 | Rebuilding marketplace.css
19:42:34 watch.1 | Rebuilding erpnext-web.min.js
19:42:35 watch.1 | Rebuilding erpnext-web.css
19:42:35 watch.1 | Rebuilding marketplace.min.js
19:43:08 watch.1 |
19:43:08 watch.1 | <--- Last few GCs --->
19:43:08 watch.1 |
19:43:08 watch.1 | [915281:0x3ae1d10] 139722 ms: Mark-sweep 987.1 (996.0) -> 986.5 (996.0) MB, 1656.4 / 0.0 ms (average mu = 0.208, current mu = 0.141) allocation failure scavenge might not succeed
19:43:08 watch.1 | [915281:0x3ae1d10] 141759 ms: Mark-sweep 987.1 (996.0) -> 986.9 (996.0) MB, 2027.8 / 0.0 ms (average mu = 0.105, current mu = 0.005) allocation failure scavenge might not succeed
19:43:08 watch.1 |
19:43:08 watch.1 |
19:43:08 watch.1 | <--- JS stacktrace --->
19:43:08 watch.1 |
19:43:08 watch.1 | ==== JS stack trace =========================================
19:43:08 watch.1 |
19:43:08 watch.1 | 0: ExitFrame [pc: 0x1409219]
19:43:08 watch.1 | 1: StubFrame [pc: 0x1473478]
19:43:08 watch.1 | Security context: 0x3fed3eec08d1 <JSObject>
19:43:08 watch.1 | 2: new FunctionDeclaration [0x8ff149e2ba9] [/home/erpdev/frappe-bench-DELS/apps/frappe/node_modules/rollup/dist/rollup.js:1] [bytecode=0x19bd77a646c1 offset=0](this=0x34cc6f16e419 <FunctionDeclaration map = 0xd1b9458c19>)
19:43:08 watch.1 | 3: arguments adaptor frame: 3->0
19:43:08 watch.1 | 4: ConstructFrame [pc: 0x138a2b7]
19:43:08 watch.1 | 5: /* anonymous */ [0x3c100...
19:43:08 watch.1 |
19:43:08 watch.1 | FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
19:43:08 watch.1 | 1: 0xa17c40 node::Abort() [/usr/bin/node]
19:43:08 watch.1 | 2: 0xa1804c node::OnFatalError(char const*, char const*) [/usr/bin/node]
19:43:08 watch.1 | 3: 0xb95a7e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
19:43:08 watch.1 | 4: 0xb95df9 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
19:43:08 watch.1 | 5: 0xd53075 [/usr/bin/node]
19:43:08 watch.1 | 6: 0xd53706 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/bin/node]
19:43:08 watch.1 | 7: 0xd5ffc5 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/bin/node]
19:43:08 watch.1 | 8: 0xd60e75 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
19:43:08 watch.1 | 9: 0xd6392c v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/bin/node]
19:43:08 watch.1 | 10: 0xd2a34b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/bin/node]
19:43:08 watch.1 | 11: 0x106c91e v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/bin/node]
19:43:08 watch.1 | 12: 0x1409219 [/usr/bin/node]
19:43:09 watch.1 | Aborted (core dumped)
19:43:09 watch.1 | error Command failed with exit code 134.
19:43:09 watch.1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
19:43:10 system | watch.1 stopped (rc=0)
On a different installation I see that the next to rebuild after marketplace.min.js
is erpnext.min.js
. How could I fix whatever is defective in there?
19:52:06 watch.1 | Rebuilding erpnext-web.min.js
19:52:06 watch.1 | Rebuilding erpnext-web.css
19:52:06 watch.1 | Rebuilding marketplace.min.js
19:52:15 watch.1 | Rebuilding erpnext.min.js
19:52:19 watch.1 | Rebuilding item-dashboard.min.js