ionic5-starter-app-tutorial
ionic5-starter-app-tutorial copied to clipboard
An unhandled exception occurred: Worker terminated due to reaching memory limit: JS heap out of memory
anyone else run into this issue?
$ ionic cordova build ios --prod --optimizejs --minifycss --minifyjs --verbose
....
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.left.object Identifier: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.left.property Identifier: enter
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.left.property Identifier: Recursing into...
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.left.property Identifier: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.left MemberExpression: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.right Identifier: enter
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.right Identifier: Recursing into...
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression.right Identifier: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0].expression AssignmentExpression: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate.body[0] ExpressionStatement: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0].alternate BlockStatement: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[0] IfStatement: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[1] ReturnStatement: enter
2022-11-28T00:10:50.409Z babel program.body[null].body.body[1] ReturnStatement: Recursing into...
2022-11-28T00:10:50.409Z babel program.body[null].body.body[1].argument Identifier: enter
2022-11-28T00:10:50.409Z babel program.body[null].body.body[1].argument Identifier: Recursing into...
2022-11-28T00:10:50.409Z babel program.body[null].body.body[1].argument Identifier: exit
2022-11-28T00:10:50.409Z babel program.body[null].body.body[1] ReturnStatement: exit
2022-11-28T00:10:50.409Z babel program.body[null].body BlockStatement: exit
An unhandled exception occurred: Worker terminated due to reaching memory limit: JS heap out of memory
See "/private/var/folders/bn/53tkc2vn1ks58yl0ljl2sy2r0000gn/T/ng-E27el8/angular-errors.log" for further details.
[ERROR] An error occurred while running subprocess ng.