{ "id": "122405", "key": "AC-2614", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-12-04T05:52:56.000+0000", "created": "2013-11-13T09:01:33.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:42.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "I receive the following error when trying to deploy to simulator as well as when running the Ad Hoc Distribution build.\r\n\r\n{code} \r\n[INFO] : Executing Alloy compile: /usr/local/bin/node compile /Users/blah/Documents/Titanium_Studio_Workspace/blah_mobile/app --config platform=ios,version=0,simtype=none,devicefamily=iphone,deploytype=development\r\n[DEBUG] : module.js:340\r\n[DEBUG] : throw err;\r\n[DEBUG] : ^\r\n[ERROR] : : Cannot find module '/Users/blah/Documents/Titanium_Studio_Workspace/blah_mobile/undefined'\r\n[DEBUG] : at Function.Module._resolveFilename (module.js:338:15)\r\n[DEBUG] : at Function.Module._load (module.js:280:25)\r\n[DEBUG] : at Function.Module.runMain (module.js:497:10)\r\n[DEBUG] : at startup (node.js:119:16)\r\n[DEBUG] : at node.js:901:3\r\n[ERROR] : Alloy compiler failed\r\n{code}", "attachment": [], "flagged": false, "summary": "Error building Alloy app on OSX 10.8.5 with 3.1.3GA", "creator": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Application type: mobile\r\nDevice: iOS simulator as well as Ad Hoc Distribution build\r\nHost Operating System: OSX 10.8.5\r\nTitanium SDK: 3.1.3GA\r\nTitanium Studio: 3.1.3.201309132423, jenkins-titanium-rcp-master-21 (origin/master), 13 September 2013, 00:23:57\r\nTitanium CLI version: 3.1.2\r\nAlloy Version: 1.2.2\r\nNode Version: v0.10.13", "comment": { "comments": [ { "id": "279305", "author": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I asked the community a couple of days ago here, without response: http://developer.appcelerator.com/question/159358/ios-cannot-find-module-undefined-modulejs-line-340", "updateAuthor": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T09:02:14.000+0000", "updated": "2013-11-13T09:02:14.000+0000" }, { "id": "282210", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello Alejandro,\n\nUnfortunately, I am unable to reproduce your issue and can run apps both with and without modules on the iOS Simulator and on iOS devices.\nI did these tests on a 10.8.5 Mac using Ti SDK 3.1.3.GA and iOS SDK 7.0 and 6.1.\n\nCould you please provide some sample code or a test case that we can use to see the error you are encountering?\nAlso, does the app you are trying to run use any modules? If so, which modules and are they installed properly/fully?", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T22:07:36.000+0000", "updated": "2013-12-03T22:07:36.000+0000" }, { "id": "282227", "author": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Eric, thank you for looking into it. I upgraded to Studio 3.2 and no longer see the issue, BTW.\r\n\r\nHere are the modules my project is using. They have been the same before and after the issue. For that reason I don't think they're the culprit, and something else with the build was causing the issue:\r\n\r\n{code:xml}\r\n\t\r\n\t\tti.cloud\r\n\t\tti.cloudpush\r\n\t\tti.styledlabel\r\n\t\tanalytics.google\r\n\t\tti.imagefactory\r\n\t\tti.newrelic\r\n\t\tfacebook\r\n\t\r\n{code}\r\n\r\nConsidering Studio 3.2 is almost GA, the issue isn't present in current Studio 3.2 builds, you're unable to reproduce, and I didn't find any similar \"cannot find module 'undefined'\" errors on the Q&A boards, I would completely understand if this was closed as \"won't fix\" or \"not reproducible.\"", "updateAuthor": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T22:34:55.000+0000", "updated": "2013-12-03T22:35:09.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }