Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16458

CLI: Cannot build a project when the directory switch is specified

    Details

      Description

      It seems that I cannot build a project when giving the project directory -d switch

      ti build -d /home/davide/Titanium_Studio_Workspace/projectname/ --platform android --log-level error

      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
      throw e;
      ^
      Error
      at Object.<anonymous> (/usr/local/lib/node_modules/titanium/lib/cli.js:159:30)
      at Module._compile (module.js:456:26)
      at Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Module._load (module.js:312:12)
      at Module.require (module.js:364:17)
      at require (module.js:380:17)
      at run (/usr/local/lib/node_modules/titanium/lib/titanium.js:180:17)
      at /usr/local/lib/node_modules/titanium/lib/titanium.js:101:3
      at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:100:8
      ---------------------------------------------
      at Object.run (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8)
      at find (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14)
      at q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:731:21)
      at processImmediate (timers.js:309:15)

      When instead I cd in the directory and launch the build command:

      ti build --no-prompt --platform android --log-level error

      All is working fine.

      The build process was fine with 3.2.1 beta.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              dawez Davide
              Reviewer:
              Allen Yeung
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18370
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration