Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8370

Plugman 0.22.18-dev fails to publish with ugly path.join error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: cordova-plugman
    • Labels:
      None

      Description

      $ plugman publish --debug
      Error Code: undefined
      Arguments to path.join must be strings TypeError: Arguments to path.join must be strings
      at path.js:360:15
      at Array.filter (native)
      at Object.exports.join (path.js:358:36)
      at new PluginInfo (cordova-lib/src/PluginInfo.js:285:26)
      at cordova-lib/src/plugman/registry/manifest.js:43:26
      at _fulfilled (cordova-lib/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (cordova-lib/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (cordova-lib/node_modules/q/q.js:749:13)
      at cordova-lib/node_modules/q/q.js:810:14
      at flush (cordova-lib/node_modules/q/q.js:108:17)

      If you must provide a path to publish, then when you don't, there should be a pretty error message that says so, e.g. the usage message.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jsoref Josh Soref
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: