{ "id": "174802", "key": "AC-6505", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2020-03-10T18:51:43.000+0000", "labels": [ "android", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-03-26T13:12:58.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "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:\r\n\r\n{code}\r\n[ERROR] RangeError: /Users/articsmobile/Documents/workspaces/appcelerator/test/Resources/iphone/sequelize.js: Maximum call stack size exceeded\r\n 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)\r\n 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)\r\n 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)\r\n at Array.filter ()\r\n 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)\r\n 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)\r\n 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)\r\n 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)\r\n 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)\r\n 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)\r\n{code}\r\n\r\nIf I run with {{--skip-js-minify}} flag, it works fine.", "attachment": [ { "id": "67294", "filename": "sequelize.js", "author": { "name": "hrfn", "key": "hrfn", "displayName": "Hugo Ramos Freire Neto", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-10T18:49:03.000+0000", "size": 1924707, "mimeType": "text/javascript" } ], "flagged": false, "summary": " Maximum call stack size exceeded when building", "creator": { "name": "hrfn", "key": "hrfn", "displayName": "Hugo Ramos Freire Neto", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hrfn", "key": "hrfn", "displayName": "Hugo Ramos Freire Neto", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android/iOS\r\nOnly happens in devices, on Ios Simulators works fine.\r\nSDK 9.0.0.v20200302073333", "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }