[AC-6505] Maximum call stack size exceeded when building
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, ios |
Reporter | Hugo Ramos Freire Neto |
Assignee | Abir Mukherjee |
Created | 2020-03-10T18:51:43.000+0000 |
Updated | 2020-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
File | Date | Size |
---|---|---|
sequelize.js | 2020-03-10T18:49:03.000+0000 | 1924707 |
No comments