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

CLI: Authentication library errors if ~/.titanium folder does not exist

    Details

      Description

      The following error occurs when ~/.titanium doesn't already exist. Simply create the directory if it doesn't exist.

      [ERROR] Error: ENOENT, no such file or directory '/Users/USERNAME/.titanium/auth_session.json'
          at Object.fs.openSync [as openSync] (fs.js:338:18)
          at Object.fs.writeFileSync [as writeFileSync] (fs.js:756:15)
          at createLoggedOutSessionFile (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:255:5)
          at Object.exports.status [as status] (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:200:12)
          at processConf (/usr/local/lib/node_modules/titanium/lib/cli.js:802:25)
          at loadCommand (/usr/local/lib/node_modules/titanium/lib/cli.js:887:3)
          at /usr/local/lib/node_modules/titanium/lib/cli.js:1003:10
          at async.parallel.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:454:21)
          at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)
          at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13)
      ---------------------------------------------
          at Object.exports.execFile [as execFile] (child_process.js:590:9)
          at exports.exec (child_process.js:477:18)
          at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4)
          at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3)
          at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3
          at Object.<anonymous> (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3)
          at Module.Module._compile [as _compile] (module.js:449:26)
          at Object.Module._extensions..js [as .js] (module.js:467:10)
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code