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

Fix jshint failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-paramedic

    Description

      $ npm run jshint
      
      > cordova-paramedic@0.5.0 jshint /Users/shaz/Documents/Git/Apache/cordova-paramedic
      > node node_modules/jshint/bin/jshint lib/
      
      lib/appium/helpers/lib/q.min.js: line 1, col 279, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 524, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 525, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 611, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 612, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 647, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 716, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 929, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1030, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1050, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1129, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1360, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1444, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1477, Missing '()' invoking a constructor.
      lib/appium/helpers/lib/q.min.js: line 1, col 1482, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1588, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1787, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1788, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1841, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1952, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1954, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1981, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 1986, 'n' was used before it was defined.
      lib/appium/helpers/lib/q.min.js: line 1, col 1988, 'e' was used before it was defined.
      lib/appium/helpers/lib/q.min.js: line 1, col 1993, 'r' was used before it was defined.
      lib/appium/helpers/lib/q.min.js: line 1, col 2015, 'i' was used before it was defined.
      lib/appium/helpers/lib/q.min.js: line 1, col 2183, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2185, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2253, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2314, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2352, Missing '()' invoking a constructor.
      lib/appium/helpers/lib/q.min.js: line 1, col 2357, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2417, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2469, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2503, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2536, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2606, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2608, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2617, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2620, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2755, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2776, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2793, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2879, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2881, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 2988, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 3040, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 3147, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 3163, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 3171, Missing semicolon.
      lib/appium/helpers/lib/q.min.js: line 1, col 3171, Too many errors. (100% scanned).
      
      lib/appium/helpers/screenshotHelper.js: line 36, col 30, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 36, col 35, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 37, col 26, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 37, col 31, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 38, col 28, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 38, col 33, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 39, col 26, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 39, col 31, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 40, col 26, Mixed double and single quotes.
      lib/appium/helpers/screenshotHelper.js: line 40, col 31, Mixed double and single quotes.
      
      61 errors
      
      npm ERR! Darwin 15.6.0
      npm ERR! argv "/Users/shaz/.nvm/v6.4.0/bin/node" "/Users/shaz/.nvm/v6.4.0/bin/npm" "run" "jshint"
      npm ERR! node v6.4.0
      npm ERR! npm  v3.10.3
      npm ERR! code ELIFECYCLE
      npm ERR! cordova-paramedic@0.5.0 jshint: `node node_modules/jshint/bin/jshint lib/`
      npm ERR! Exit status 2
      npm ERR! 
      npm ERR! Failed at the cordova-paramedic@0.5.0 jshint script 'node node_modules/jshint/bin/jshint lib/'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the cordova-paramedic package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node node_modules/jshint/bin/jshint lib/
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs cordova-paramedic
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls cordova-paramedic
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /Users/shaz/Documents/Git/Apache/cordova-paramedic/npm-debug.log
      

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: