Details

      Description

      Description:
      1.In cli run command "ti build -T 'target' -p android -d 'project-dir' -o 'output-dir' --skip-js-minify " (all target types don't work)
      2.Observe the output

      Actual result:
      1.we get error as below:

      Traceback (most recent call last):
        File "C:\ProgramData\Application Data\Titanium\mobilesdk\win32\3.0.2.v20130207164659\android\builder.py", line 15, in <module>
          from compiler import Compiler
        File "C:\ProgramData\Application Data\Titanium\mobilesdk\win32\3.0.2.v20130207164659\android\compiler.py", line 14, in <module>
          from deltafy import Deltafy
        File "C:\ProgramData\Application Data\Titanium\mobilesdk\win32\3.0.2.v20130207164659\android\deltafy.py", line 53, in <module>
          home = os.environ['USERPROFILE']
        File "C:\Python27\lib\os.py", line 423, in __getitem__
          return self.data[key.upper()]
      KeyError: 'USERPROFILE'
      [ERROR] Project failed to build after 195ms
      

      2.Cleaning & building the project does not work either
      3.Not putting the '--skip-js-minify' works fine

      Expected Result:
      1.We should be able to build with '--skip-js-minify'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                lokeshchdhry Lokesh Choudhary (Inactive)
                Reviewer:
                Bryan Hughes
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code