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

Grunt cordovajs task cannot find the path specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master, 2.9.0
    • 3.1.0
    • cordova-js
    • None
    • Windows 7 Enterprise

    Description

      1. Trying to run the default tasks causes an error :
      c:\development\cordova-2.9.0\cordova-js>grunt
      Running "cordovajs:android" (cordovajs) task
      Fatal error: Error: Command failed: The system cannot find the path specified.

      2. The README file refers to the old Jake tasks e.g. build
      "Then from the repository root run:
      grunt
      This will run the `build`, `hint` and `test` tasks by default."

      According to grunt --help
      Available tasks
      cordovajs Packages cordova.js *
      test Runs test in node
      btest Runs tests in the browser
      complainwhitespace Complain about what fixwhitespace would fix
      fixwhitespace Converts tabs to four spaces, eliminates trailing white
      space, converts newlines to proper form - enforcing style
      guide ftw!
      clean Clean files and folders. *
      jshint Validate files with JSHint. *
      default Alias for "cordovajs", "complainwhitespace", "test" tasks.

      Attachments

        1. npm-debug.log
          1020 kB
          Angela Fowler

        Activity

          People

            agrieve Andrew Grieve
            amfowler Angela Fowler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: