{ "id": "174121", "key": "AC-6364", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-12-27T15:12:05.000+0000", "created": "2019-09-11T19:05:03.000+0000", "labels": [ "alloy", "android", "core", "defect", "ios", "regression" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "updated": "2019-12-27T15:12:05.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." }, { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hello. Good afternoon.\r\n\r\nI have a project where in the file of *config.json* file has the property of *sourcemap* with the value of *false*, and it is causing the following error message on the console, but if you modify the value to *true* it will work.\r\n\r\n{code:java}\r\n[ERROR] Error: Error: /Users/tony/code/build/map/Resources/iphone/app.js.map: ENOENT: no such file or directory, open '/Users/tony/code/build/map/Resources/iphone/app.js.map'\r\n at /Users/tony/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA/node_modules/appc-tasks/dist/task/IncrementalFileTask.js:118:11\r\n at \r\n at process._tickCallback (internal/process/next_tick.js:189:7)\r\n\r\n{code}\r\n\r\nconfig.json\r\n\r\nNot working\r\n{code:java}\r\n{\r\n\t\"global\": {},\r\n\t\"env:development\": {},\r\n\t\"env:test\": {},\r\n\t\"env:production\": {},\r\n\t\"os:android\": {},\r\n\t\"os:ios\": {},\r\n\t\"os:windows\": {},\r\n\t\"dependencies\": {},\r\n\t\"sourcemap\": false\r\n}\r\n{code}\r\n\r\nWorking\r\n{code:java}\r\n{\r\n\t\"global\": {},\r\n\t\"env:development\": {},\r\n\t\"env:test\": {},\r\n\t\"env:production\": {},\r\n\t\"os:android\": {},\r\n\t\"os:ios\": {},\r\n\t\"os:windows\": {},\r\n\t\"dependencies\": {},\r\n\t\"sourcemap\": true\r\n}\r\n{code}\r\n\r\nNote: This is working fine with 8.0.2.GA, also please remove the build folder, and Resources folder before do any test.\r\n\r\nPlease let me know whether you have any doubt or question.\r\n\r\nThanks, and best,\r\nFrancisco Antonio Duran Ramirez.", "attachment": [], "flagged": false, "summary": "TI SDK 8.1.1 - sourcemap false in the config.json is causing an error during the compilation", "creator": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Axway Appcelerator Studio, build: 5.1.3.201907112159\r\nNode version : v8.16.0\r\nTitanium SDK : 8.1.1.GA\r\nXcode : Version 10.2\r\nAndroid Version : 9\r\nAppcelerator CLI : 7.1.1\r\nAlloy Version : 1.14.0", "comment": { "comments": [ { "id": "452143", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello [~antonioduran],\r\nThanks for sharing with is. Can you please sample test project and test steps to reproduce the issue on our end?", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-10-20T10:14:17.000+0000", "updated": "2019-10-20T10:14:17.000+0000" }, { "id": "453321", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hello [~antonioduran],\r\nWe have tested this issue with latest sdk 8.3.0.GA and so far we have been unable to reproduce this error. Can you please try to latest sdk and let us know how it goes?\r\n\r\n{code}\r\nOperating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.10240\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 17091956736\r\n\r\nNode.js\r\n Node.js Version = 10.18.0\r\n npm Version = 6.13.4\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.2\r\n\r\nTitanium SDK\r\n SDK Version = 8.3.0.GA\r\nAxway Appcelerator Studio, build: 5.1.4.201909061933\r\n{code}\r\n*config.json*\r\n{code}\r\n{\r\n\t\"global\": {},\r\n\t\"env:development\": {},\r\n\t\"env:test\": {},\r\n\t\"env:production\": {},\r\n\t\"os:android\": {},\r\n\t\"os:ios\": {},\r\n\t\"os:windows\": {},\r\n\t\"dependencies\": {},\r\n\t\"sourcemap\": false\r\n}\r\n{code}\r\n\r\nThanks\r\n", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2019-12-27T14:43:43.000+0000", "updated": "2019-12-27T14:43:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }