Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-5877

Unable to compile Ti-SDK with scons.js

    Details

      Description

      Following the guide here https://www.appcelerator.com/blog/2018/06/patch-titanium-sdk-using-cherry-picking/, I'm getting an error when running the last command node scons.js cleanbuild. The error I see is:

      BUILD SUCCESSFUL
      Total time: 2 seconds

      path.js:28
      throw new TypeError('Path must be a string. Received ' + inspect(path));
      ^

      TypeError: Path must be a string. Received null
      at assertPath (path.js:28:11)
      at Object.join (path.js:1246:7)
      at AndroidSDK.getPlatformDir (/Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/build/androidsdk.js:64:24)
      at Android.build (/Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/build/android.js:41:28)
      at /Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/build/scons-cleanbuild.js:95:26
      at /Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/node_modules/async/dist/async.js:3047:16
      at replenish (/Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/node_modules/async/dist/async.js:982:17)
      at /Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/node_modules/async/dist/async.js:986:9
      at eachLimit$1 (/Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/node_modules/async/dist/async.js:3133:22)
      at Object.<anonymous> (/Users/jonasfunk/Dropbox/Appcelerator_Studio_Workspace/ti-sdk/node_modules/async/dist/async.js:1016:16)

      Node/NDK installed:

      ✓ node installed (v8.9.4)
      ✓ npm installed (v6.4.1)
      ✓ ndk installed (12.1.2977051)
      ✓ ndk-build installed (/Users/jonasfunk/android-ndk-r12b/ndk-build)

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              jonasfunk Jonas Funk Johannessen
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration