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

weinre still referencing path.existsSync()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      User reported runtime error in weinre, presumably with a relatively new version of node.

          if (!path.existsSync(fileName)) return properties;
                    ^
      ---------------------------------------------------------
      error: TypeError: undefined is not a function
      ---------------------------------------------------------
      stack:
         cli.coffee:66  - getDotWeinreServerProperties()
      

      References of path.exists*() will need to be changed to fs.exist*()

      Attachments

        Activity

          People

            pmuellr Patrick Mueller
            pmuellr Patrick Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: