{ "id": "161400", "key": "TIMOB-23576", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-08-25T20:33:42.000+0000", "created": "2016-06-28T07:00:46.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "build,", "error,", "scons,", "sdk" ], "versions": [], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-13T17:16:02.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": [], "description": "Trying to build the SDK and it's failing immediately. I'm cloning https://github.com/appcelerator/titanium_mobile.git then running scons in the project root, and it spits out the following error:\r\n\r\nscons: *** No SConstruct file found.", "attachment": [], "flagged": false, "summary": "scons: *** No SConstruct file found.", "creator": { "name": "ben@roestudios.com", "key": "ben@roestudios.com", "displayName": "Benjamin Allison", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ben@roestudios.com", "key": "ben@roestudios.com", "displayName": "Benjamin Allison", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.11.4", "comment": { "comments": [ { "id": "389486", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "We have replaced scons on master branch. There will be a blog post soon.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-29T23:20:23.000+0000", "updated": "2016-06-29T23:20:23.000+0000" }, { "id": "389537", "author": { "name": "ben@roestudios.com", "key": "ben@roestudios.com", "displayName": "Benjamin Allison", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cool.\r\n\r\nIn the mean time... how can I build the SDK?", "updateAuthor": { "name": "ben@roestudios.com", "key": "ben@roestudios.com", "displayName": "Benjamin Allison", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-30T05:25:38.000+0000", "updated": "2016-06-30T05:25:38.000+0000" }, { "id": "389539", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Try this:\r\n{code}\r\ncd build\r\nnpm install\r\nnode scons.js build\r\nnode scons.js package\r\nnode scons.js install\r\n{code}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-30T05:38:13.000+0000", "updated": "2016-06-30T05:38:13.000+0000" }, { "id": "389543", "author": { "name": "ben@roestudios.com", "key": "ben@roestudios.com", "displayName": "Benjamin Allison", "active": true, "timeZone": "America/Los_Angeles" }, "body": "SDK built! Thanks.", "updateAuthor": { "name": "ben@roestudios.com", "key": "ben@roestudios.com", "displayName": "Benjamin Allison", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-30T06:26:33.000+0000", "updated": "2016-06-30T06:26:33.000+0000" }, { "id": "425052", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "body": "You should update the docs with this\r\nhttp://docs.appcelerator.com/platform/latest/#!/guide/Building_the_Titanium_SDK_From_Source", "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-07-29T20:25:06.000+0000", "updated": "2017-07-29T20:25:06.000+0000" }, { "id": "434343", "author": { "name": "e3bmo3ty", "key": "e3bmo3ty", "displayName": "ebrahim sayed abd el-moaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@chee kiat Ng cant build with this way , this error log showed up\r\n\r\n\r\n\r\n{code:java}\r\nuser:titanium_mobile user$ node scons.js build\r\nmodule.js:540\r\n throw err;\r\n ^\r\n\r\nError: Cannot find module '/Users/user/Desktop/gihub TI/titanium_mobile/scons.js'\r\n at Function.Module._resolveFilename (module.js:538:15)\r\n at Function.Module._load (module.js:468:25)\r\n at Function.Module.runMain (module.js:684:10)\r\n at startup (bootstrap_node.js:187:16)\r\n at bootstrap_node.js:608:3\r\nuser:titanium_mobile user$ cd build\r\nuser:build user$ node scons.js build\r\nBuilding MobileSDK version 7.0.3, githash fb078dc66d\r\npath.js:28\r\n throw new TypeError('Path must be a string. Received ' + inspect(path));\r\n ^\r\n\r\nTypeError: Path must be a string. Received null\r\n at assertPath (path.js:28:11)\r\n at Object.join (path.js:1246:7)\r\n at AndroidSDK.getPlatformDir (/Users/user/Desktop/gihub TI/titanium_mobile/build/androidsdk.js:64:24)\r\n at Android.build (/Users/user/Desktop/gihub TI/titanium_mobile/build/android.js:52:28)\r\n at /Users/user/Desktop/gihub TI/titanium_mobile/build/scons-build.js:43:25\r\n at /Users/user/Desktop/gihub TI/titanium_mobile/node_modules/async/dist/async.js:3047:16\r\n at replenish (/Users/user/Desktop/gihub TI/titanium_mobile/node_modules/async/dist/async.js:982:17)\r\n at iterateeCallback (/Users/user/Desktop/gihub TI/titanium_mobile/node_modules/async/dist/async.js:967:17)\r\n at /Users/user/Desktop/gihub TI/titanium_mobile/node_modules/async/dist/async.js:944:16\r\n at IOS.fetchLibTiCore (/Users/user/Desktop/gihub TI/titanium_mobile/build/ios.js:52:10)\r\n{code}\r\n", "updateAuthor": { "name": "e3bmo3ty", "key": "e3bmo3ty", "displayName": "ebrahim sayed abd el-moaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-11T23:31:27.000+0000", "updated": "2018-02-11T23:31:27.000+0000" }, { "id": "434426", "author": { "name": "e3bmo3ty", "key": "e3bmo3ty", "displayName": "ebrahim sayed abd el-moaty", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed by setting $ANDROID_NDK and $ANDROID_SDK", "updateAuthor": { "name": "e3bmo3ty", "key": "e3bmo3ty", "displayName": "ebrahim sayed abd el-moaty", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-13T17:16:02.000+0000", "updated": "2018-02-13T17:16:02.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }