Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1056

"Path must be a string. Received undefined" error is thrown if you build to Android using Node 6.X.X strictly with Appc CLI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
    • Environment:

      Appc CLI NPM: 4.2.7
      Appc CLI Core: 5.4.0-35
      Arrow: 1.8.2
      SDK: 5.4.0.v20160725003348
      Node: v6.3.1
      OS: Mac OS X (10.11.6)
      Device: Samsung Galaxy S4 (4.4.4), Genymotion Emulator (5.1.0)

    • Severity:
      Major

      Description

      Details: Path must be a string. Received undefined error is thrown if you build to Android using Node 6.X.X strictly with Appc CLI.

      Notes:

      • I am able to build to Android using Titanium and Alloy CLI independently with Node 6.X.X.
      • This issue is not reproducible with Node 4.X.X.
      • This issue is not reproducible on iOS.

      Steps to reproduce:

      1. Make sure you have Node 6.X.X installed on your machine
      2. Create a mobile project with appc new
      3. Build and install project to Android: appc run -p android

      Actual: Path must be a string. Received undefined error is thrown during build:

      [TRACE] Found 2 devices, checking if any of them are the emulator...
      [TRACE] Emulator is running!
      [TRACE] Checking if boot animation has finished...
      [TRACE] Emulator is not booted yet; checking again in 2000 ms
      2016-07-26T22:17:40.735Z | ERROR  | An uncaught exception was thrown!
      Path must be a string. Received undefined
      2016-07-26T22:17:40.735Z | ERROR  | Path must be a string. Received undefined
      

      Expected: Android build should not fail when using Node 6.X.X.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                msamah Ashraf Abu (Inactive)
                Reporter:
                wluu Wilson Luu
              • Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code