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

recent update to titanium_mobile breaks API change script

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Invalid
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: None
    • Component/s: Release
    • Labels:
      None
    • Story Points:
      1

      Description

      Changes made in https://github.com/appcelerator/titanium_mobile/commit/43f2dc8e17c184a7b5b0e50792ab9b0f3d9dcccd#diff-297c1fc19b7b017b4a6d8856e9184fcd breaks my script that generates API changes for the SDK release note. Error message:

      /Users/bimmel/Documents/Repo/titanium_mobile/node_modules/ejs/lib/ejs.js:528
              this.source += '    ; __filename = "' + this.opts.filename.replace(/\\/g,  '/') + '"\n';
                                                                         ^
       
      TypeError: this.opts.filename.replace is not a function
          at Object.Template.generateSource (/Users/bimmel/Documents/Repo/titanium_mobile/node_modules/ejs/lib/ejs.js:528:68)
          at Object.Template.compile (/Users/bimmel/Documents/Repo/titanium_mobile/node_modules/ejs/lib/ejs.js:444:12)
          at Object.compile (/Users/bimmel/Documents/Repo/titanium_mobile/node_modules/ejs/lib/ejs.js:289:16)
          at handleCache (/Users/bimmel/Documents/Repo/titanium_mobile/node_modules/ejs/lib/ejs.js:148:16)
          at Object.exports.render (/Users/bimmel/Documents/Repo/titanium_mobile/node_modules/ejs/lib/ejs.js:316:10)
          at /Users/bimmel/Documents/Repo/titanium_mobile/apidoc/docgen.js:913:17
          at Array.forEach (native)
          at Object.<anonymous> (/Users/bimmel/Documents/Repo/titanium_mobile/apidoc/docgen.js:848:9)
          at Module._compile (module.js:413:34)
          at Object.Module._extensions..js (module.js:422:10)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                bimmel-defective (deactived) Brian Immel (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration