Description:
after running the command $ ionic cordova run android --device the cli freezes at Generating ES5 bundles for differential loading...
Steps to Reproduce:
$ ionic cordova plaform add android$ ionic cordova run android --deviceOutput:
ionic cordova run android --device --verbose
ionic:lib Terminal info: { ci: false, shell: '/bin/sh', tty: true, windows: false } +0ms
ionic:lib CLI global options: { _: [ 'cordova', 'run', 'android' ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, device: true, project: null, '--': [] } +7ms
ionic:lib:project Project type from config: @ionic/angular (angular) +0ms
ionic:lib:project Project details: { configPath: '/Users/c.francia/Desktop/dicus/dicus/application/app/ionic.config.json', errors: [], context: 'app', type: 'angular' } +0ms
ionic Context: { binPath: '/Users/c.francia/.config/yarn/global/node_modules/ionic/bin/ionic', libPath: '/Users/c.francia/.config/yarn/global/node_modules/ionic', execPath: '/Users/c.francia/Desktop/application/app', version: '5.4.13' } +0ms
ionic:lib:integrations:cordova:config Loading Cordova Config (config.xml: '/Users/c.francia/Desktop/application/app/config.xml', package.json: '/Users/c.francia/Desktop/application/app/package.json') +0ms
ionic:lib:integrations:cordova:config Loading Cordova Config (config.xml: '/Users/c.francia/Desktop/application/app/config.xml', package.json: '/Users/c.francia/Desktop/application/app/package.json') +239ms
ionic:lib:telemetry Sending telemetry for command: 'ionic cordova run' [ 'android', '--device', '--verbose', '--interactive', '--color' ] +0ms
ionic:lib:build build options: {
ionic:lib:build '--': [],
ionic:lib:build engine: 'cordova',
ionic:lib:build platform: 'android',
ionic:lib:build project: undefined,
ionic:lib:build verbose: false,
ionic:lib:build configuration: undefined,
ionic:lib:build sourcemaps: undefined,
ionic:lib:build cordovaAssets: true,
ionic:lib:build watch: undefined,
ionic:lib:build type: 'angular'
ionic:lib:build } +0ms
ionic:lib:hooks Looking for ionic:build:before npm script. +0ms
ionic:lib:build Looking for ionic:build npm script. +133ms
> ng run app:ionic-cordova-build --platform=android
ng:analytics getGlobalAnalytics +0ms
ng:analytics Client Analytics config found: false +494ms
ng:analytics Analytics disabled. Ignoring all analytics. +0ms
ng:analytics getSharedAnalytics +0ms
Generating ES5 bundles for differential loading...
My ionic info:
Ionic CLI : 5.4.13 (/Users/c.francia/.config/yarn/global/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.803.21
@angular-devkit/schematics : 8.3.21
@angular/cli : 8.3.21
@ionic/angular-toolkit : 2.1.1
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 8.1.0, ios 5.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.2, (and 19 other plugins)
Utility:
cordova-res : 0.8.1
native-run : 0.3.0
System:
ios-sim : 8.0.2
NodeJS : v12.7.0 (/usr/local/lib/node_modules/node/bin/node)
npm : 6.11.3
OS : macOS Mojave
Xcode : Xcode 11.2.1 Build version 11B500
Other Information:
this happens when using the command $ ionic cordova run android --device --lievreload howerver at a different section
> cordova build android --device
[INFO] ... and 78 additional chunks
[ng] ℹ 「wdm」: Compiled successfully.
[cordova] Note: Some input files use or override a deprecated API.
[cordova] Note: Recompile with -Xlint:deprecation for details.
[cordova] Note: Some input files use unchecked or unsafe operations.
[cordova] Note: Recompile with -Xlint:unchecked for details.
> native-run android --app platforms/android/app/build/outputs/apk/debug/app-debug.apk --device --forward 8100:8100
if I leave it there then some time later (I don't know how much time I was out for lunch but longer than 20 minutes) then it will finish.
-these report files report.<timestamp>.json are being created from the ionic-cli
-I've tried increasing the memory outlined in this open issue setting my node env to export NODE_OPTIONS=--max_old_space_size=4096 however this is not solving the issue
-when stopping I get the error:
at new SubprocessError (/Users/c.francia/.config/yarn/global/node_modules/@ionic/utils-subprocess/dist/index.js:40:23)
at ChildProcess.<anonymous>
(/Users/c.francia/.config/yarn/global/node_modules/@ionic/utils-subprocess/dist/index.js:124:27)
at ChildProcess.emit (events.js:203:13)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
-whenever the error report is generated there is a package-lock.json file created, though yarn is the manager I am using
further, I see that there are two reports generated:
{
"header": {
"reportVersion": 1,
"event": "Allocation failed - JavaScript heap out of memory",
"trigger": "FatalError",
"filename": "report.20191224.104156.49797.0.001.json",
"dumpEventTime": "2019-12-24T10:41:56Z",
"dumpEventTimeStamp": "1577180516885",
"processId": 49797,
"cwd": "/Users/c.francia/Desktop/dicus/dicus/application/app",
"commandLine": [
"/usr/local/lib/node_modules/node/bin/node",
"/Users/c.francia/Desktop/dicus/dicus/application/app/node_modules/jest-worker/build/workers/processChild.js"
],
"nodejsVersion": "v12.7.0",
"wordSize": 64,
"arch": "x64",
"platform": "darwin",
"componentVersions": {
"node": "12.7.0",
"v8": "7.5.288.22-node.16",
"uv": "1.30.1",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "72",
"nghttp2": "1.39.1",
"napi": "4",
"llhttp": "1.1.4",
"http_parser": "2.8.0",
"openssl": "1.1.1c",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019a",
"unicode": "12.1"
},
"release": {
"name": "node",
"headersUrl": "https://nodejs.org/download/release/v12.7.0/node-v12.7.0-headers.tar.gz",
"sourceUrl": "https://nodejs.org/download/release/v12.7.0/node-v12.7.0.tar.gz"
},
"osName": "Darwin",
"osRelease": "18.7.0",
"osVersion": "Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64",
"osMachine": "x86_64",
"cpus": [
{
"model": "Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz",
"speed": 2300,
"user": 92554920,
"nice": 0,
"sys": 23946090,
"idle": 86920780,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz",
"speed": 2300,
"user": 92554920,
"nice": 0,
"sys": 23946090,
"idle": 86920780,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz",
"speed": 2300,
"user": 92554920,
"nice": 0,
"sys": 23946090,
"idle": 86920780,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz",
"speed": 2300,
"user": 92554920,
"nice": 0,
"sys": 23946090,
"idle": 86920780,
"irq": 0
}
],
"host": "Christians-MacBook-Pro.local"
},
"javascriptStack": {
"message": "No stack.",
"stack": [
"Unavailable."
]
},
"nativeStack": [
{
"pc": "0x0000000100141f48",
"symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, v8::Local<v8::String>) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x0000000100077b6b",
"symbol": "node::OnFatalError(char const*, char const*) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x000000010016cc27",
"symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x000000010016cbbc",
"symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x000000010033a175",
"symbol": "v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x000000010033b263",
"symbol": "v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x0000000100338a43",
"symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x00000001003366ff",
"symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x00000001003413f4",
"symbol": "v8::internal::Heap::AllocateRawWithLightRetry(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x000000010034146f",
"symbol": "v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x000000010030dfb7",
"symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x00000001005ca7e7",
"symbol": "v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/lib/node_modules/node/bin/node]"
},
{
"pc": "0x00000001009104f9",
"symbol": "Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/lib/node_modules/node/bin/node]"
}
],
"javascriptHeap": {
"totalMemory": 2152542208,
"totalCommittedMemory": 2148534504,
"usedMemory": 2121217800,
"availableMemory": 49601704,
"memoryLimit": 2197815296,
"heapSpaces": {
"read_only_space": {
"memorySize": 262144,
"committedMemory": 32272,
"capacity": 261832,
"used": 31960,
"available": 229872
},
"new_space": {
"memorySize": 4194304,
"committedMemory": 1142776,
"capacity": 2094656,
"used": 90568,
"available": 2004088
},
"old_space": {
"memorySize": 2053517312,
"committedMemory": 2053080696,
"capacity": 2027419608,
"used": 2027419608,
"available": 0
},
"code_space": {
"memorySize": 1736704,
"committedMemory": 1646112,
"capacity": 1557120,
"used": 1557120,
"available": 0
},
"map_space": {
"memorySize": 1576960,
"committedMemory": 1377864,
"capacity": 1012320,
"used": 1012320,
"available": 0
},
"large_object_space": {
"memorySize": 91205632,
"committedMemory": 91205632,
"capacity": 91102768,
"used": 91102768,
"available": 0
},
"code_large_object_space": {
"memorySize": 49152,
"committedMemory": 49152,
"capacity": 3456,
"used": 3456,
"available": 0
},
"new_large_object_space": {
"memorySize": 0,
"committedMemory": 0,
"capacity": 2094656,
"used": 0,
"available": 2094656
}
}
},
"resourceUsage": {
"userCpuSeconds": 111.42,
"kernelCpuSeconds": 7.8783,
"cpuConsumptionPercent": 29.1683,
"maxRss": 2235232681984,
"pageFaults": {
"IORequired": 30,
"IONotRequired": 1999642
},
"fsActivity": {
"reads": 0,
"writes": 0
}
},
"libuv": [
],
"environmentVariables": {
"SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.2fhui2QusP/Listeners",
"LC_TERMINAL_VERSION": "3.3.7",
"COLORFGBG": "15;0",
"PATH": "/Users/c.francia/Desktop/dicus/dicus/application/app/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/c.francia/Downloads/gradle-4.1/bin:/opt/yarn-[version]/bin:/Users/c.francia/go/bin",
"LC_TERMINAL": "iTerm2",
"COLORTERM": "truecolor",
"TERM": "xterm-256color",
"HOME": "/Users/c.francia",
"__CF_USER_TEXT_ENCODING": "0x0:0:0",
"LSCOLORS": "Gxfxcxdxbxegedabagacad",
"LC_ALL": "en_US.UTF-8",
"LC_CTYPE": "en_US.UTF-8",
"MAIL": "/var/mail/root",
"LOGNAME": "root",
"USER": "root",
"USERNAME": "root",
"SHELL": "/bin/sh",
"SUDO_COMMAND": "/usr/local/bin/ionic cordova run android --device",
"SUDO_USER": "c.francia",
"SUDO_UID": "501",
"SUDO_GID": "80",
"IONIC_CLI_BIN": "/Users/c.francia/.config/yarn/global/node_modules/ionic/bin/ionic",
"IONIC_CLI_LIB": "/Users/c.francia/.config/yarn/global/node_modules/ionic",
"IONIC_CLI_LOCAL_ERROR": "LOCAL_CLI_NOT_FOUND",
"FORCE_COLOR": "1",
"WEBPACK_DEV_SERVER": "true",
"JEST_WORKER_ID": "1"
},
"userLimits": {
"core_file_size_blocks": {
"soft": 0,
"hard": "unlimited"
},
"data_seg_size_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
},
"file_size_blocks": {
"soft": "unlimited",
"hard": "unlimited"
},
"max_locked_memory_bytes": {
"soft": "unlimited",
"hard": "unlimited"
},
"max_memory_size_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
},
"open_files": {
"soft": 12288,
"hard": "unlimited"
},
"stack_size_bytes": {
"soft": 8388608,
"hard": 67104768
},
"cpu_time_seconds": {
"soft": "unlimited",
"hard": "unlimited"
},
"max_user_processes": {
"soft": 709,
"hard": 709
},
"virtual_memory_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
}
},
"sharedObjects": [
"/usr/local/lib/node_modules/node/bin/node",
"/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation",
"/usr/lib/libSystem.B.dylib",
"/usr/lib/libc++.1.dylib",
"/usr/lib/libobjc.A.dylib",
"/usr/lib/libDiagnosticMessagesClient.dylib",
"/usr/lib/libicucore.A.dylib",
"/usr/lib/libz.1.dylib",
"/usr/lib/libc++abi.dylib",
"/usr/lib/system/libcache.dylib",
"/usr/lib/system/libcommonCrypto.dylib",
"/usr/lib/system/libcompiler_rt.dylib",
"/usr/lib/system/libcopyfile.dylib",
"/usr/lib/system/libcorecrypto.dylib",
"/usr/lib/system/libdispatch.dylib",
"/usr/lib/system/libdyld.dylib",
"/usr/lib/system/libkeymgr.dylib",
"/usr/lib/system/liblaunch.dylib",
"/usr/lib/system/libmacho.dylib",
"/usr/lib/system/libquarantine.dylib",
"/usr/lib/system/libremovefile.dylib",
"/usr/lib/system/libsystem_asl.dylib",
"/usr/lib/system/libsystem_blocks.dylib",
"/usr/lib/system/libsystem_c.dylib",
"/usr/lib/system/libsystem_configuration.dylib",
"/usr/lib/system/libsystem_coreservices.dylib",
"/usr/lib/system/libsystem_darwin.dylib",
"/usr/lib/system/libsystem_dnssd.dylib",
"/usr/lib/system/libsystem_info.dylib",
"/usr/lib/system/libsystem_m.dylib",
"/usr/lib/system/libsystem_malloc.dylib",
"/usr/lib/system/libsystem_networkextension.dylib",
"/usr/lib/system/libsystem_notify.dylib",
"/usr/lib/system/libsystem_sandbox.dylib",
"/usr/lib/system/libsystem_secinit.dylib",
"/usr/lib/system/libsystem_kernel.dylib",
"/usr/lib/system/libsystem_platform.dylib",
"/usr/lib/system/libsystem_pthread.dylib",
"/usr/lib/system/libsystem_symptoms.dylib",
"/usr/lib/system/libsystem_trace.dylib",
"/usr/lib/system/libunwind.dylib",
"/usr/lib/system/libxpc.dylib",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices",
"/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics",
"/System/Library/Frameworks/CoreText.framework/Versions/A/CoreText",
"/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO",
"/System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis",
"/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight",
"/System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface",
"/usr/lib/libxml2.2.dylib",
"/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate",
"/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation",
"/usr/lib/libcompression.dylib",
"/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration",
"/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay",
"/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit",
"/System/Library/Frameworks/Metal.framework/Versions/A/Metal",
"/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders",
"/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport",
"/System/Library/Frameworks/Security.framework/Versions/A/Security",
"/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore",
"/usr/lib/libbsm.0.dylib",
"/usr/lib/liblzma.5.dylib",
"/usr/lib/libauto.dylib",
"/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration",
"/usr/lib/libarchive.2.dylib",
"/usr/lib/liblangid.dylib",
"/usr/lib/libCRFSuite.dylib",
"/usr/lib/libenergytrace.dylib",
"/usr/lib/system/libkxld.dylib",
"/System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression",
"/usr/lib/libOpenScriptingUtil.dylib",
"/usr/lib/libcoretls.dylib",
"/usr/lib/libcoretls_cfhelpers.dylib",
"/usr/lib/libpam.2.dylib",
"/usr/lib/libsqlite3.dylib",
"/usr/lib/libxar.1.dylib",
"/usr/lib/libbz2.1.0.dylib",
"/usr/lib/libnetwork.dylib",
"/usr/lib/libapple_nghttp2.dylib",
"/usr/lib/libpcap.A.dylib",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices",
"/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList",
"/System/Library/Frameworks/NetFS.framework/Versions/A/NetFS",
"/System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth",
"/System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport",
"/System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC",
"/System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP",
"/System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities",
"/usr/lib/libmecabra.dylib",
"/usr/lib/libmecab.1.0.0.dylib",
"/usr/lib/libgermantok.dylib",
"/usr/lib/libThaiTokenizer.dylib",
"/usr/lib/libChineseTokenizer.dylib",
"/usr/lib/libiconv.2.dylib",
"/usr/lib/libcharset.1.dylib",
"/System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling",
"/System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji",
"/System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon",
"/System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData",
"/usr/lib/libcmph.dylib",
"/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData",
"/System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory",
"/System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS",
"/usr/lib/libutil.dylib",
"/System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement",
"/System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement",
"/usr/lib/libxslt.1.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib",
"/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib",
"/System/Library/PrivateFrameworks/GPUWrangler.framework/Versions/A/GPUWrangler",
"/System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator",
"/System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment",
"/System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib",
"/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Versions/A/MPSCore",
"/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSImage.framework/Versions/A/MPSImage",
"/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork",
"/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix",
"/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/Versions/A/MPSRayIntersector",
"/System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools",
"/System/Library/PrivateFrameworks/AggregateDictionary.framework/Versions/A/AggregateDictionary",
"/usr/lib/libMobileGestalt.dylib",
"/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage",
"/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL",
"/System/Library/PrivateFrameworks/GraphVisualizer.framework/Versions/A/GraphVisualizer",
"/System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore",
"/System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL",
"/usr/lib/libFosl_dynamic.dylib",
"/System/Library/PrivateFrameworks/OTSVG.framework/Versions/A/OTSVG",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib",
"/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib",
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib",
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib",
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib",
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib",
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib",
"/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib",
"/System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib",
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib",
"/usr/lib/libcups.2.dylib",
"/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos",
"/System/Library/Frameworks/GSS.framework/Versions/A/GSS",
"/usr/lib/libresolv.9.dylib",
"/System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal",
"/usr/lib/libheimdal-asn1.dylib",
"/System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory",
"/System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth",
"/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation",
"/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio",
"/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox",
"/System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce",
"/System/Library/PrivateFrameworks/AssertionServices.framework/Versions/A/AssertionServices",
"/System/Library/PrivateFrameworks/BaseBoard.framework/Versions/A/BaseBoard"
]
}
The same happens with me
{
"header": {
"reportVersion": 1,
"event": "Allocation failed - JavaScript heap out of memory",
"trigger": "FatalError",
"filename": "report.20191228.180530.17453.0.001.json",
"dumpEventTime": "2019-12-28T18:05:30Z",
"dumpEventTimeStamp": "1577574330801",
"processId": 17453,
"cwd": "/home/derickfelix/nsdev/modern-grocery-list",
"commandLine": [
"/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node",
"/home/derickfelix/nsdev/modern-grocery-list/node_modules/jest-worker/build/workers/processChild.js"
],
"nodejsVersion": "v13.5.0",
"glibcVersionRuntime": "2.24",
"glibcVersionCompiler": "2.23",
"wordSize": 64,
"arch": "x64",
"platform": "linux",
"componentVersions": {
"node": "13.5.0",
"v8": "7.9.317.25-node.23",
"uv": "1.34.0",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "79",
"nghttp2": "1.40.0",
"napi": "5",
"llhttp": "2.0.1",
"openssl": "1.1.1d",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019a",
"unicode": "12.1"
},
"release": {
"name": "node",
"headersUrl": "https://nodejs.org/download/release/v13.5.0/node-v13.5.0-headers.tar.gz",
"sourceUrl": "https://nodejs.org/download/release/v13.5.0/node-v13.5.0.tar.gz"
},
"osName": "Linux",
"osRelease": "4.15.0-30deepin-generic",
"osVersion": "#31 SMP Fri Nov 30 04:29:02 UTC 2018",
"osMachine": "x86_64",
"cpus": [
{
"model": "Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz",
"speed": 2494,
"user": 9777000,
"nice": 5700,
"sys": 1071000,
"idle": 28803400,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz",
"speed": 2494,
"user": 9510500,
"nice": 6500,
"sys": 1057200,
"idle": 29578000,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz",
"speed": 2494,
"user": 9553400,
"nice": 4800,
"sys": 1137700,
"idle": 29321800,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz",
"speed": 2494,
"user": 9551000,
"nice": 5600,
"sys": 1003400,
"idle": 29325700,
"irq": 0
}
],
"networkInterfaces": [
{
"name": "lo",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "127.0.0.1",
"netmask": "255.0.0.0",
"family": "IPv4"
},
{
"name": "wlp3s0",
"internal": false,
"mac": "5c:c9:d3:56:1c:7a",
"address": "10.0.0.102",
"netmask": "255.255.255.0",
"family": "IPv4"
},
{
"name": "lo",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "::1",
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"family": "IPv6",
"scopeid": 0
},
{
"name": "wlp3s0",
"internal": false,
"mac": "5c:c9:d3:56:1c:7a",
"address": "fe80::e05d:7d29:700c:ed6f",
"netmask": "ffff:ffff:ffff:ffff::",
"family": "IPv6",
"scopeid": 3
}
],
"host": "laptop"
},
"javascriptStack": {
"message": "No stack.",
"stack": [
"Unavailable."
]
},
"nativeStack": [
{
"pc": "0x0000000000a9dd81",
"symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, v8::Local<v8::String>) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x000000000097c151",
"symbol": "node::OnFatalError(char const*, char const*) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000aca40e",
"symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000aca661",
"symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000c4f8c5",
"symbol": " [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000c4f9c8",
"symbol": "v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000c60e09",
"symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000c61c34",
"symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000c64195",
"symbol": "v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000c64705",
"symbol": "v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000c2dd84",
"symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x0000000000f131fe",
"symbol": "v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
},
{
"pc": "0x00000000012519b9",
"symbol": " [/home/linuxbrew/.linuxbrew/Cellar/node/13.5.0/bin/node]"
}
],
"javascriptHeap": {
"totalMemory": 2150449152,
"totalCommittedMemory": 2148927400,
"usedMemory": 2135407072,
"availableMemory": 49433312,
"memoryLimit": 2197815296,
"heapSpaces": {
"read_only_space": {
"memorySize": 262144,
"committedMemory": 33328,
"capacity": 33040,
"used": 33040,
"available": 0
},
"new_space": {
"memorySize": 2097152,
"committedMemory": 1240144,
"capacity": 1047424,
"used": 190696,
"available": 856728
},
"old_space": {
"memorySize": 2047483904,
"committedMemory": 2047363176,
"capacity": 2035595656,
"used": 2035565280,
"available": 30376
},
"code_space": {
"memorySize": 1478656,
"committedMemory": 1364160,
"capacity": 1404928,
"used": 1272288,
"available": 132640
},
"map_space": {
"memorySize": 1576960,
"committedMemory": 1376256,
"capacity": 934720,
"used": 934720,
"available": 0
},
"large_object_space": {
"memorySize": 97501184,
"committedMemory": 97501184,
"capacity": 97408264,
"used": 97408264,
"available": 0
},
"code_large_object_space": {
"memorySize": 49152,
"committedMemory": 49152,
"capacity": 2784,
"used": 2784,
"available": 0
},
"new_large_object_space": {
"memorySize": 0,
"committedMemory": 0,
"capacity": 1047424,
"used": 0,
"available": 1047424
}
}
},
"resourceUsage": {
"userCpuSeconds": 211.772,
"kernelCpuSeconds": 3.94243,
"cpuConsumptionPercent": 215.715,
"maxRss": 2261299200,
"pageFaults": {
"IORequired": 2,
"IONotRequired": 966291
},
"fsActivity": {
"reads": 456,
"writes": 0
}
},
"uvthreadResourceUsage": {
"userCpuSeconds": 79.9039,
"kernelCpuSeconds": 1.7106,
"cpuConsumptionPercent": 81.6145,
"fsActivity": {
"reads": 456,
"writes": 0
}
},
"libuv": [
],
"environmentVariables": {
"LS_COLORS": "bd=38;5;68;1:ca=38;5;17:cd=38;5;132;1:di=38;5;105:do=38;5;127:ex=38;5;80:pi=38;5;126:fi=38;5;167:ln=38;5;63:mh=38;5;99;1:or=48;5;197;38;5;228;1:ow=38;5;220;1:sg=48;5;234;38;5;100;1:su=38;5;9;1:so=38;5;197:st=38;5;86;48;5;234:tw=48;5;235;38;5;139;3:*LS_COLORS=48;5;89;38;5;197;1;3;4;7:*.BAT=38;5;108:*.exe=38;5;196:*.PL=38;5;160:*.asm=38;5;240;1:*.awk=38;5;148;1:*.bash=38;5;173:*.bat=38;5;108:*.c=38;5;110:*.cc=38;5;24;1:*.ii=38;5;24;1:*.cfg=1:*.cl=38;5;204;1:*.coffee=38;5;100;1:*.conf=38;5;221:*.C=38;5;24;1:*.cp=38;5;24;1:*.cpp=38;5;24;1:*.cxx=38;5;24;1:*.c++=38;5;24;1:*.ii=38;5;24;1:*.cs=38;5;74;1:*.css=38;5;91:*.csv=38;5;78:*.ctp=38;5;95:*.diff=48;5;197;38;5;232:*.enc=38;5;192;3:*.eps=38;5;33;1:*.etx=38;5;172:*.ex=38;5;148;1:*.example=38;5;225;1:*.git=38;5;197:*.gitignore=38;5;240:*.go=38;5;111:*.h=38;5;81:*.H=38;5;81:*.hpp=38;5;81:*.hxx=38;5;81:*.h++=38;5;81:*.tcc=38;5;81:*.f=38;5;81:*.for=38;5;81:*.ftn=38;5;81:*.s=38;5;81:*.S=38;5;81:*.sx=38;5;81:*.hi=38;5;240:*.hs=38;5;199;1:*.htm=38;5;125;1:*.html=38;5;9;1:*.info=38;5;101:*.ini=38;5;123:*.java=38;5;142;1:*.jhtm=38;5;125;1:*.js=38;5;42:*.jsm=38;5;42:*.jsm=38;5;42:*.json=38;5;213:*.jsp=38;5;45:*.lisp=38;5;204;1:*.log=38;5;190:*.lua=38;5;34;1:*.m=38;5;130;3:*.mht=38;5;129:*.mm=38;5;130;3:*.M=38;5;130;3:*.map=38;5;58;3:*.markdown=38;5;184:*.md=38;5;184:*.mf=38;5;220;3:*.mfasl=38;5;73:*.mi=38;5;124:*.mkd=38;5;184:*.mtx=38;5;36;3:*.nfo=38;5;220:*.o=38;5;240:*.pacnew=38;5;33:*.patch=48;5;197;38;5;232;1:*.pc=38;5;100:*.pfa=38;5;43:*.pgsql=38;5;222:*.php=38;5;99:*.pl=38;5;214:*.po=38;5;176:*.pot=38;5;206;1:*.plt=38;5;204;1:*.pm=38;5;197;1:*.pod=38;5;172;1:*.py=38;5;41:*.pyc=38;5;245:*.rb=38;5;192:*.rdf=38;5;144:*.rst=38;5;67:*.ru=38;5;142:*.scm=38;5;204;1:*.sed=38;5;130;1:*.sfv=38;5;197:*.sh=38;5;113:*.signature=38;5;206:*.sql=38;5;222:*.srt=38;5;116:*.sty=38;5;58:*.sug=38;5;44:*.t=38;5;28;1:*.tcl=38;5;64;1:*.tdy=38;5;214:*.tex=38;5;172:*.textile=38;5;106:*.tfm=38;5;64:*.tfnt=38;5;140:*.theme=38;5;109:*.txt=38;5;192:*.list=38;5;44:*.save=38;5;240:*.urlview=38;5;85:*.vim=38;5;14:*.vimrc=38;5;13:*.viminfo=38;5;240;1:*.xml=38;5;199:*.yml=38;5;208:*.zsh=38;5;173:*.bashrc=38;5;5:*README=38;5;220;1:*Makefile=38;5;196:*MANIFEST=38;5;243:*pm_to_blib=38;5;240:*.1=38;5;240;1:*.2=38;5;220;1:*.3=38;5;196;1:*.7=38;5;196;1:*.1p=38;5;160:*.3p=38;5;160:*.am=38;5;242:*.in=38;5;242:*.old=38;5;242:*.out=38;5;44;1:*.bmp=38;5;33:*.cdr=38;5;33:*.gif=38;5;33:*.ico=38;5;33:*.jpeg=38;5;33:*.jpg=38;5;33:*.JPG=38;5;33:*.png=38;5;33:*.svg=38;5;33;1:*.xpm=38;5;33:*.32x=38;5;137:*.A64=38;5;82:*.a00=38;5;11:*.a52=38;5;112:*.a64=38;5;82:*.a78=38;5;112:*.adf=38;5;35:*.atr=38;5;213:*.cdi=38;5;124:*.fm2=38;5;35:*.gb=38;5;203:*.gba=38;5;205:*.gbc=38;5;204:*.gel=38;5;83:*.gg=38;5;138:*.ggl=38;5;83:*.j64=38;5;102:*.nds=38;5;199:*.nes=38;5;160:*.rom=38;5;59;1:*.sav=38;5;220:*.sms=38;5;33:*.st=38;5;208;1:*.iso=38;5;9;1:*.nrg=38;5;124:*.qcow=38;5;141:*.VOB=38;5;99:*.IFO=38;5;99:*.BUP=38;5;99:*.MOV=38;5;99:*.3gp=38;5;99:*.3g2=38;5;99:*.asf=38;5;99:*.avi=38;5;99:*.divx=38;5;99:*.f4v=38;5;99:*.flv=38;5;99:*.m2v=38;5;99:*.mkv=38;5;99:*.mov=38;5;99:*.mp4=38;5;99:*.mpg=38;5;99:*.mpeg=38;5;99:*.ogm=38;5;99:*.ogv=38;5;99:*.rmvb=38;5;99:*.sample=38;5;99;1:*.ts=38;5;99:*.vob=38;5;99:*.webm=38;5;99:*.wmv=38;5;99:*.S3M=38;5;69;1:*.aac=38;5;69:*.cue=38;5;69:*.dat=38;5;69:*.dts=38;5;69;1:*.fcm=38;5;69:*.flac=38;5;69;1:*.m3u=38;5;69:*.m3u8=38;5;69:*.m4=38;5;69;3:*.m4a=38;5;69;1:*.mid=38;5;69:*.midi=38;5;69:*.mod=38;5;69:*.mp3=38;5;69:*.oga=38;5;69:*.ogg=38;5;69:*.s3m=38;5;69;1:*.sid=38;5;69;1:*.spl=38;5;69:*.wv=38;5;69:*.wvc=38;5;69:*.ape=38;5;69:*.afm=38;5;58:*.pfb=38;5;58:*.pfm=38;5;58:*.ttf=38;5;66:*.ttc=38;5;66:*.pcf=38;5;65:*.psf=38;5;64:*.bak=38;5;222;1:*.bin=38;5;228:*.pid=38;5;228:*.state=38;5;228:*.swo=38;5;228:*.swp=38;5;228:*.tmp=38;5;228:*.un~=38;5;228:*.zcompdump=38;5;228:*.zwc=38;5;228:*.db=38;5;147:*.dump=38;5;147:*.sqlite=38;5;147:*.typelib=38;5;147:*.7z=38;5;140:*.a=38;5;220:*.apk=38;5;148;3:*.arj=38;5;220:*.bz2=38;5;220:*.deb=38;5;215;1:*.ipk=38;5;220:*.jad=38;5;220:*.jar=38;5;220:*.nth=38;5;220:*.sis=38;5;220:*.part=38;5;220;1:*.r00=38;5;220:*.r01=38;5;220:*.r02=38;5;220:*.r03=38;5;220:*.r04=38;5;220:*.r05=38;5;220:*.r06=38;5;220:*.r07=38;5;220:*.r08=38;5;220:*.r09=38;5;220:*.r10=38;5;220:*.r100=38;5;220:*.r101=38;5;220:*.r102=38;5;220:*.r103=38;5;220:*.r104=38;5;220:*.r105=38;5;220:*.r106=38;5;220:*.r107=38;5;220:*.r108=38;5;220:*.r109=38;5;220:*.r11=38;5;220:*.r110=38;5;220:*.r111=38;5;220:*.r112=38;5;220:*.r113=38;5;220:*.r114=38;5;220:*.r115=38;5;220:*.r116=38;5;220:*.r12=38;5;220:*.r13=38;5;220:*.r14=38;5;220:*.r15=38;5;220:*.r16=38;5;220:*.r17=38;5;220:*.r18=38;5;220:*.r19=38;5;220:*.r20=38;5;220:*.r21=38;5;220:*.r22=38;5;220:*.r25=38;5;220:*.r26=38;5;220:*.r27=38;5;220:*.r28=38;5;220:*.r29=38;5;220:*.r30=38;5;220:*.r31=38;5;220:*.r32=38;5;220:*.r33=38;5;220:*.r34=38;5;220:*.r35=38;5;220:*.r36=38;5;220:*.r37=38;5;220:*.r38=38;5;220:*.r39=38;5;220:*.r40=38;5;220:*.r41=38;5;220:*.r42=38;5;220:*.r43=38;5;220:*.r44=38;5;220:*.r45=38;5;220:*.r46=38;5;220:*.r47=38;5;220:*.r48=38;5;220:*.r49=38;5;220:*.r50=38;5;220:*.r51=38;5;220:*.r52=38;5;220:*.r53=38;5;220:*.r54=38;5;220:*.r99=38;5;220:*.r56=38;5;220:*.r69=38;5;220:*.r58=38;5;220:*.r59=38;5;220:*.r60=38;5;220:*.r61=38;5;220:*.r62=38;5;220:*.r63=38;5;220:*.r64=38;5;220:*.r65=38;5;220:*.r66=38;5;220:*.r67=38;5;220:*.r68=38;5;220:*.r69=38;5;220:*.r69=38;5;220:*.r70=38;5;220:*.r71=38;5;220:*.r72=38;5;220:*.r73=38;5;220:*.r74=38;5;220:*.r75=38;5;220:*.r76=38;5;220:*.r77=38;5;220:*.r78=38;5;220:*.r79=38;5;220:*.r80=38;5;220:*.r81=38;5;220:*.r82=38;5;220:*.r83=38;5;220:*.r84=38;5;220:*.r85=38;5;220:*.r86=38;5;220:*.r87=38;5;220:*.r88=38;5;220:*.r89=38;5;220:*.r90=38;5;220:*.r91=38;5;220:*.r92=38;5;220:*.r99=38;5;220:*.r94=38;5;220:*.r95=38;5;220:*.r96=38;5;220:*.r97=38;5;220:*.r98=38;5;220:*.r99=38;5;220:*.rar=38;5;217;1:*.tar=38;5;222:*.tar.gz=38;5;216:*.tgz=38;5;214;1:*.gz=38;5;224:*.xz=38;5;182:*.zip=38;5;208:*.doc=38;5;190:*.wps=38;5;190:*.docx=38;5;190:*.xls=38;5;190:*.xlsx=38;5;190:*.ppt=38;5;190:*.pptx=38;5;190:*.pdf=38;5;190:*.djvu=38;5;190:*.cbr=38;5;190:*.cbz=38;5;190:*.chm=38;5;190:*.odt=38;5;112:*.ods=38;5;112:*.odp=38;5;112:*.odb=38;5;112:*.allow=38;5;112:*.deny=38;5;203:*.SKIP=38;5;244:*.def=38;5;136:*.directory=38;5;69:*.err=38;5;160;1:*.error=38;5;160;1:*.pi=38;5;126:*.properties=38;5;197;1:*.torrent=38;5;105:*.gp3=38;5;114:*.gp4=38;5;115:*.tg=38;5;99:*.pcap=38;5;29:*.cap=38;5;29:*.dmp=38;5;29:*.service=38;5;81:*@.service=38;5;45:*.socket=38;5;75:*.device=38;5;24:*.mount=38;5;115:*.automount=38;5;114:*.swap=38;5;113:*.target=38;5;73:*.path=38;5;116:*.timer=38;5;111:*.snapshot=38;5;139:*.desktop=38;5;113:*.crdownload=38;5;38:*.crx=38;5;13:",
"LANG": "en_US.UTF-8",
"DISPLAY": ":0",
"COLORTERM": "truecolor",
"NO_AT_BRIDGE": "1",
"XDG_VTNR": "1",
"GIO_LAUNCHED_DESKTOP_FILE_PID": "7477",
"SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
"XDG_SESSION_ID": "2",
"XDG_GREETER_DATA_DIR": "/var/lib/lightdm/data/derickfelix",
"USER": "derickfelix",
"DESKTOP_SESSION": "deepin",
"PWD": "/home/derickfelix/nsdev/modern-grocery-list",
"HOME": "/home/derickfelix",
"QT_DBL_CLICK_DIST": "15",
"IBUS_DISABLE_SNOOPER": "1",
"XDG_SESSION_TYPE": "x11",
"XDG_SESSION_DESKTOP": "deepin",
"TERM": "xterm-256color",
"SHELL": "/bin/bash",
"VTE_VERSION": "5201",
"XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0",
"XDG_CURRENT_DESKTOP": "Deepin",
"GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1",
"GIO_LAUNCHED_DESKTOP_FILE": "/usr/share/applications/deepin-terminal.desktop",
"XDG_SEAT": "seat0",
"SHLVL": "1",
"LANGUAGE": "en_US",
"GDMSESSION": "deepin",
"GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
"LOGNAME": "derickfelix",
"DBUS_SESSION_BUS_ADDRESS": "unix:abstract=/tmp/dbus-DP4CVgbB04,guid=837fbb86add2c3780d8e473f5e081647",
"XDG_RUNTIME_DIR": "/run/user/1000",
"XAUTHORITY": "/home/derickfelix/.Xauthority",
"XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session0",
"PATH": "/home/derickfelix/nsdev/modern-grocery-list/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/home/linuxbrew/.linuxbrew/bin",
"PS1": "\\[\\033[0;00m\\]\\h\\[\\033[0;00m\\]:\\[\\033[0;35m\\]\\W \\[\\033[0;32m\\]\\u\\[\\033[0;00m\\]\\[\\033[00m\\]$ ",
"OLDPWD": "/home/derickfelix",
"_": "/home/linuxbrew/.linuxbrew/bin/ionic",
"IONIC_CLI_BIN": "/home/linuxbrew/.linuxbrew/lib/node_modules/ionic/bin/ionic",
"IONIC_CLI_LIB": "/home/linuxbrew/.linuxbrew/lib/node_modules/ionic",
"IONIC_CLI_LOCAL_ERROR": "LOCAL_CLI_NOT_FOUND",
"FORCE_COLOR": "1",
"WEBPACK_DEV_SERVER": "true",
"JEST_WORKER_ID": "1"
},
"userLimits": {
"core_file_size_blocks": {
"soft": 0,
"hard": "unlimited"
},
"data_seg_size_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
},
"file_size_blocks": {
"soft": "unlimited",
"hard": "unlimited"
},
"max_locked_memory_bytes": {
"soft": 65536,
"hard": 65536
},
"max_memory_size_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
},
"open_files": {
"soft": 1048576,
"hard": 1048576
},
"stack_size_bytes": {
"soft": 8388608,
"hard": "unlimited"
},
"cpu_time_seconds": {
"soft": "unlimited",
"hard": "unlimited"
},
"max_user_processes": {
"soft": 31147,
"hard": 31147
},
"virtual_memory_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
}
},
"sharedObjects": [
"linux-vdso.so.1",
"/home/linuxbrew/.linuxbrew/lib/libicui18n.so.64",
"/home/linuxbrew/.linuxbrew/lib/libicuuc.so.64",
"/lib/x86_64-linux-gnu/libdl.so.2",
"/lib/x86_64-linux-gnu/libstdc++.so.6",
"/lib/x86_64-linux-gnu/libm.so.6",
"/lib/x86_64-linux-gnu/libgcc_s.so.1",
"/lib/x86_64-linux-gnu/libpthread.so.0",
"/lib/x86_64-linux-gnu/libc.so.6",
"/home/linuxbrew/.linuxbrew/Cellar/icu4c/64.2/lib/libicudata.so.64",
"/home/linuxbrew/.linuxbrew/lib/ld.so"
]
}
Same here....
$ ng run app:ionic-cordova-build --platform=android
'
Generating ES5 bundles for differential loading...
An unhandled exception occurred: Call retries were exceeded
See "/tmp/ng-m2Q2GU/angular-errors.log" for further details.
[ERROR] An error occurred while running subprocess ng.
ng run app:ionic-cordova-build --platform=android exited with exit code
127.
Re-running this command with the --verbose flag may provide more
information.
real 4m42.120s
user 4m20.533s
sys 0m19.751s
`
'
$ ionic info
Ionic:
Ionic CLI : 5.4.13 (/home/dave/.nvm/versions/node/v10.15.0/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.803.21
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.3.21
@ionic/angular-toolkit : 2.0.0
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 8.1.0, browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 12 other plugins)
Utility:
cordova-res (update available: 0.8.1) : 0.5.2
native-run (update available: 0.3.0) : 0.2.1
System:
Android SDK Tools : 26.1.1 (/home/dave/Android/Sdk)
NodeJS : v10.15.0 (/home/dave/.nvm/versions/node/v10.15.0/bin/node)
npm : 6.13.2
OS : Linux 5.3
'
The latest Javascript JS6 was released recently and may be involved?
Here is a link to that: https://www.w3schools.com/Js/js_es6.asp
I have abandoned Ionic and moved to Node Express
@ctfrancia @davemake
After a couple of hours, I finally solved this by downgrading the @angular-devkit/build-angular version from ^0.803.21 to ~0.801.2.
"devDependencies": {
"@angular-devkit/build-angular": "~0.801.2"
}
Then ionic repair and ionic build must work!
@derickfelix that solved it for me as well! Hopefully, sooner than later the ionic team will update this section.
The version of @angular-devkit/build-angular that @derickfelix recommended works for me as well. I did some brief digging this morning and found a couple of commits/issues that reference this. The commits imply that this should be fixed at this point, so perhaps there some issue where Ionic makes the problem worse.
https://github.com/angular/angular-cli/issues/16441
https://github.com/angular/angular-cli/commit/b7eabe1e290f7b8e5da2b8c4c7be783dc250b2a0
@ctfrancia @davemake
After a couple of hours, I finally solved this by downgrading the @angular-devkit/build-angular version from^0.803.21to~0.801.2."devDependencies": { "@angular-devkit/build-angular": "~0.801.2" }Then
ionic repairandionic buildmust work!
This worked for me as well, thanks!
I submitted an issue with Angular for this: https://github.com/angular/angular-cli/issues/16520
This answer solved my issue as well:
After a couple of hours, I finally solved this by downgrading the @angular-devkit/build-angular version from ^0.803.21 to ~0.801.2.
"devDependencies": {
"@angular-devkit/build-angular": "~0.801.2"
}
Edit tsconfig.son, change "target": "es2015" to "target": "es5"
@derickfelix Thank you so much!
There's also this workaround that was posted by an Angular developer that's looking into this issue: https://github.com/angular/angular-cli/issues/16520#issuecomment-569970189
@marceloamc this seems to work, but causes issues with differential loading: https://github.com/angular/angular-cli/issues/16515#issuecomment-571555448
Edit tsconfig.son, change "target": "es2015" to "target": "es5"
this is working for me.
Edit tsconfig.son, change "target": "es2015" to "target": "es5"
Worked for me as well:
Ionic:
Ionic CLI : 6.1.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.0
@angular-devkit/build-angular : 0.803.25
@angular-devkit/schematics : 8.3.25
@angular/cli : 8.3.25
@ionic/angular-toolkit : 2.1.2
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v10.16.2 (/usr/local/bin/node)
npm : 6.13.7
OS : macOS Mojave
@ctfrancia @davemake
After a couple of hours, I finally solved this by downgrading the @angular-devkit/build-angular version from^0.803.21to~0.801.2."devDependencies": { "@angular-devkit/build-angular": "~0.801.2" }Then
ionic repairandionic buildmust work!
@derickfelix i did ionic repair but ionic build not working.
help me..!
ionic build
ng.cmd run app:build
An unhandled exception occurred: Cannot read property 'createHash' of undefinedSee "C:\Users\Mani\AppData\Local\Temp\ng-wChkGe\angular-errors.lo
@ThirumaniRaja try starting a new angular project, if the build works check the difference between the package.json of the both projects. Otherwise, maybe you will need to use another version of angular/ionic, re-install it all.
Same issue here but editing tsconfig.son, change "target": "es2015" to "target": "es5" works for me !!
But is this right solution ? When we create new app with ionic angular the target defaults to es2015 will there be any issues by doing this?
Ionic:
Ionic CLI : 6.6.
System:
NodeJS : v12.16.2
npm : 6.13.4
OS : macOS Catalina
Angular :
9.1.3 latest
Do I need to downgrade angular ? Is this Angular CLI issue or ionic issue ?
Same here. Ionic5+Angular9. To change to es5 and to downgrade to Angular8 is not ultimate solution.
In our case, what helped was updating those packages:
npm install codelyzer@latest --save
npm install rxjs-compat@latest --save
(Checked outdated packages with npm outdated)
Now it seems to work even with the es2015 target.
I'm on latest version for all packages. Still issues exists below is my package.json
Do I need to upgrade or downgrade any package to resolve this issue?
"dependencies": {
"@angular/common": "9.1.9",
"@angular/core": "9.1.9",
"@angular/forms": "9.1.9",
"@angular/platform-browser": "9.1.9",
"@angular/platform-browser-dynamic": "9.1.9",
"@angular/router": "9.1.9",
"@ionic-native/calendar": "5.26.0",
"@ionic-native/camera": "5.26.0",
"@ionic-native/core": "5.26.0",
"@ionic-native/device": "5.26.0",
"@ionic-native/document-viewer": "5.26.0",
"@ionic-native/file": "5.26.0",
"@ionic-native/file-opener": "5.26.0",
"@ionic-native/file-path": "5.26.0",
"@ionic-native/fingerprint-aio": "5.26.0",
"@ionic-native/http": "5.26.0",
"@ionic-native/in-app-browser": "5.26.0",
"@ionic-native/ionic-webview": "5.26.0",
"@ionic-native/keyboard": "5.26.0",
"@ionic-native/network": "5.26.0",
"@ionic-native/push": "5.26.0",
"@ionic-native/secure-storage": "5.26.0",
"@ionic-native/splash-screen": "5.26.0",
"@ionic-native/status-bar": "5.26.0",
"@ionic/angular": "5.1.1",
"@ionic/storage": "2.2.0",
"@mobiscroll/angular": "4.10.3",
"@ng-idle/core": "8.0.0-beta.4",
"@ng-idle/keepalive": "8.0.0-beta.4",
"@ngx-translate/core": "12.1.2",
"@ngx-translate/http-loader": "4.0.0",
"camelcase-keys": "^6.2.2",
"cordova-android": "8.1.0",
"cordova-ios": "5.1.1",
"cordova-plugin-advanced-http": "2.4.1",
"cordova-plugin-calendar": "5.1.5",
"cordova-plugin-camera": "4.1.0",
"cordova-plugin-device": "2.0.3",
"cordova-plugin-document-viewer": "0.9.13",
"cordova-plugin-file": "6.0.2",
"cordova-plugin-file-opener2": "3.0.1",
"cordova-plugin-filepath": "1.5.8",
"cordova-plugin-fingerprint-aio": "3.0.1",
"cordova-plugin-inappbrowser": "3.2.0",
"cordova-plugin-ionic-keyboard": "2.2.0",
"cordova-plugin-ionic-webview": "4.2.1",
"cordova-plugin-network-information": "2.0.2",
"cordova-plugin-secure-storage-echo": "5.0.1",
"cordova-plugin-splashscreen": "5.0.3",
"cordova-plugin-statusbar": "2.4.3",
"cordova-plugin-whitelist": "1.3.4",
"cordova-support-google-services": "1.4.0",
"core-js": "^3.6.5",
"credit-card-type": "^8.3.0",
"json-stringify-safe": "^5.0.1",
"libphonenumber-js": "^1.7.51",
"lodash.merge": "^4.6.2",
"mime": "^2.4.5",
"moment": "^2.26.0",
"phonegap-plugin-multidex": "^1.0.0",
"phonegap-plugin-push": "^2.3.0",
"rxjs": "^6.5.5",
"tslib": "^1.13.0",
"zone.js": "^0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.901.7",
"@angular/cli": "9.1.7",
"@angular/compiler": "9.1.9",
"@angular/compiler-cli": "9.1.9",
"@angular/language-service": "9.1.9",
"@ionic/angular-toolkit": "2.2.0",
"@types/credit-card-type": "7.0.0",
"@types/crypto-js": "3.1.47",
"@types/google-maps": "3.2.2",
"@types/jasmine": "3.5.10",
"@types/jasminewd2": "2.0.8",
"@types/json-stringify-safe": "5.0.0",
"@types/lodash.merge": "4.6.6",
"@types/mime": "2.0.2",
"@types/node": "14.0.5",
"@types/url-parse": "1.4.3",
"ajv": "^6.12.2",
"codelyzer": "^5.2.2",
"husky": "^4.2.5",
"jasmine-core": "3.5.0",
"jasmine-spec-reporter": "~5.0.2",
"karma": "5.0.9",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.2",
"karma-jasmine": "3.1.1",
"karma-jasmine-html-reporter": "1.5.4",
"npm-run-all": "^4.1.5",
"protractor": "7.0.0",
"ts-node": "8.10.1",
"tslint": "6.1.2",
"typescript": "~3.8.3"
},
This issue still occurs if i generate source maps for a large angular application.
"@angular-devkit/build-angular": "~0.901.11"
I have the LTS version for the above package.
Description:
after running the command
$ ionic cordova run android --devicethe cli freezes atGenerating ES5 bundles for differential loading...Steps to Reproduce:
$ ionic cordova plaform add android$ ionic cordova run android --deviceOutput:
ionic cordova run android --device --verbose ionic:lib Terminal info: { ci: false, shell: '/bin/sh', tty: true, windows: false } +0ms ionic:lib CLI global options: { _: [ 'cordova', 'run', 'android' ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, device: true, project: null, '--': [] } +7ms ionic:lib:project Project type from config: @ionic/angular (angular) +0ms ionic:lib:project Project details: { configPath: '/Users/c.francia/Desktop/dicus/dicus/application/app/ionic.config.json', errors: [], context: 'app', type: 'angular' } +0ms ionic Context: { binPath: '/Users/c.francia/.config/yarn/global/node_modules/ionic/bin/ionic', libPath: '/Users/c.francia/.config/yarn/global/node_modules/ionic', execPath: '/Users/c.francia/Desktop/application/app', version: '5.4.13' } +0ms ionic:lib:integrations:cordova:config Loading Cordova Config (config.xml: '/Users/c.francia/Desktop/application/app/config.xml', package.json: '/Users/c.francia/Desktop/application/app/package.json') +0ms ionic:lib:integrations:cordova:config Loading Cordova Config (config.xml: '/Users/c.francia/Desktop/application/app/config.xml', package.json: '/Users/c.francia/Desktop/application/app/package.json') +239ms ionic:lib:telemetry Sending telemetry for command: 'ionic cordova run' [ 'android', '--device', '--verbose', '--interactive', '--color' ] +0ms ionic:lib:build build options: { ionic:lib:build '--': [], ionic:lib:build engine: 'cordova', ionic:lib:build platform: 'android', ionic:lib:build project: undefined, ionic:lib:build verbose: false, ionic:lib:build configuration: undefined, ionic:lib:build sourcemaps: undefined, ionic:lib:build cordovaAssets: true, ionic:lib:build watch: undefined, ionic:lib:build type: 'angular' ionic:lib:build } +0ms ionic:lib:hooks Looking for ionic:build:before npm script. +0ms ionic:lib:build Looking for ionic:build npm script. +133ms > ng run app:ionic-cordova-build --platform=android ng:analytics getGlobalAnalytics +0ms ng:analytics Client Analytics config found: false +494ms ng:analytics Analytics disabled. Ignoring all analytics. +0ms ng:analytics getSharedAnalytics +0ms Generating ES5 bundles for differential loading...My
ionic info:Ionic CLI : 5.4.13 (/Users/c.francia/.config/yarn/global/node_modules/ionic) Ionic Framework : @ionic/angular 4.11.7 @angular-devkit/build-angular : 0.803.21 @angular-devkit/schematics : 8.3.21 @angular/cli : 8.3.21 @ionic/angular-toolkit : 2.1.1 Cordova: Cordova CLI : 9.0.0 ([email protected]) Cordova Platforms : android 8.1.0, ios 5.1.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.2, (and 19 other plugins) Utility: cordova-res : 0.8.1 native-run : 0.3.0 System: ios-sim : 8.0.2 NodeJS : v12.7.0 (/usr/local/lib/node_modules/node/bin/node) npm : 6.11.3 OS : macOS Mojave Xcode : Xcode 11.2.1 Build version 11B500Other Information:
this happens when using the command
$ ionic cordova run android --device --lievreloadhowerver at a different section> cordova build android --device [INFO] ... and 78 additional chunks [ng] ℹ 「wdm」: Compiled successfully. [cordova] Note: Some input files use or override a deprecated API. [cordova] Note: Recompile with -Xlint:deprecation for details. [cordova] Note: Some input files use unchecked or unsafe operations. [cordova] Note: Recompile with -Xlint:unchecked for details. > native-run android --app platforms/android/app/build/outputs/apk/debug/app-debug.apk --device --forward 8100:8100if I leave it there then some time later (I don't know how much time I was out for lunch but longer than 20 minutes) then it will finish.
Updates:
-these report files
report.<timestamp>.jsonare being created from the ionic-cli-I've tried increasing the memory outlined in this open issue setting my node env to
export NODE_OPTIONS=--max_old_space_size=4096however this is not solving the issue-when stopping I get the error:
at new SubprocessError (/Users/c.francia/.config/yarn/global/node_modules/@ionic/utils-subprocess/dist/index.js:40:23) at ChildProcess.<anonymous> (/Users/c.francia/.config/yarn/global/node_modules/@ionic/utils-subprocess/dist/index.js:124:27) at ChildProcess.emit (events.js:203:13) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)-whenever the error report is generated there is a
package-lock.jsonfile created, though yarn is the manager I am using
I Solved This Problem By Re-Building.Below are the steps i followed
I think while it was stuck at generating ES5 bundles it might be building the app.
Edit tsconfig.son, change "target": "es2015" to "target": "es5"
Can someone explain why this works ?
ionic cordova build
@akshaymethaniya , re-building solved the issue for me. Thanks!
I just figured out myself on the error (not related to Ionic itself).
tsconfig.ts, changing
"target": "es2015"
to
"target": "es5"
removed the "Generating ES5 bundles for differential loading..." stuff at all, works like a charm! :)
Most helpful comment
Edit tsconfig.son, change "target": "es2015" to "target": "es5"