Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6505] Maximum call stack size exceeded when building

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, ios
ReporterHugo Ramos Freire Neto
AssigneeAbir Mukherjee
Created2020-03-10T18:51:43.000+0000
Updated2020-03-26T13:12:58.000+0000

Description

I have this lib (sequelize) in my project, and when I migrate to sdk 9. I have the following error when build on device:
[ERROR] RangeError: /Users/articsmobile/Documents/workspaces/appcelerator/test/Resources/iphone/sequelize.js: Maximum call stack size exceeded
    at NodePath._resolve (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/introspection.js:314:18)
    at NodePath.resolve (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/introspection.js:311:15)
    at violations.filter.violation (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js:62:27)
    at Array.filter (<anonymous>)
    at getConstantViolationsBefore (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js:61:21)
    at getTypeAnnotationBindingConstantViolations (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js:36:28)
    at NodePath._default (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js:22:14)
    at NodePath._getTypeAnnotation (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/inference/index.js:57:20)
    at NodePath.getTypeAnnotation (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/inference/index.js:23:19)
    at NodePath.isBaseType (/Users/articsmobile/Library/Application Support/Titanium/mobilesdk/osx/9.0.0.v20200302073333/node_modules/node-titanium-sdk/node_modules/@babel/traverse/lib/path/inference/index.js:68:37)
If I run with --skip-js-minify flag, it works fine.

Attachments

FileDateSize
sequelize.js2020-03-10T18:49:03.000+00001924707

Comments

No comments

JSON Source