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

Generating Docs: Parse Token Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      When generating the docs with ./bin/generate the following error is thrown:

       => Generating the Cordova Documentation for 0.9.2-en...
      /Library/Ruby/Gems/1.8/gems/json-1.6.0/lib/json/common.rb:148:in `parse': 387: unexpected token at '"cordova/camera/parameter/cameraPopoverOptions.md" (JSON::ParserError)
              ],
              "capture.md": [
                  "cordova/media/capture/capture.md",
                  "cordova/media/capture/captureAudio.md",
                  "cordova/media/capture/captureAudioOptions.md",
                  "cordova/media/capture/captureImage.md",
                  "cordova/media/capture/captureImageOptions.md",
                  "cordova/media/capture/captureVideo.md",
                  "cordova/media/capture/captureVideoOptions.md",
                  "cordova/media/capture/CaptureError.md",
                  "cordova/media/capture/CaptureCB.md",
                  "cordova/media/capture/CaptureErrorCB.md",
                  "cordova/media/capture/ConfigurationData.md",
                  "cordova/media/capture/MediaFile.md",
                  "cordova/media/capture/MediaFile.getFormatData.md",
                  "cordova/media/capture/MediaFileData.md"
              ],
              "compass.md": [
                  "cordova/compass/compass.md",
                  "cordova/compass/compass.getCurrentHeading.md",
          
      	from /Library/Ruby/Gems/1.8/gems/json-1.6.0/lib/json/common.rb:148:in `parse'
      	from ./bin/../lib/cordova/version_menu.rb:53:in `generate_set'
      	from ./bin/../lib/cordova/version_menu.rb:50:in `each'
      	from ./bin/../lib/cordova/version_menu.rb:50:in `generate_set'
      	from ./bin/../lib/cordova/version_menu.rb:33:in `run'
      	from ./bin/../lib/docs_generator.rb:106:in `after_jodoc'
      	from ./bin/../lib/file_helpers.rb:69:in `each_file'
      	from ./bin/../lib/file_helpers.rb:68:in `each'
      	from ./bin/../lib/file_helpers.rb:68:in `each_file'
      	from ./bin/../lib/docs_generator.rb:105:in `after_jodoc'
      	from ./bin/../lib/docs_generator.rb:104:in `each'
      	from ./bin/../lib/docs_generator.rb:104:in `after_jodoc'
      	from ./bin/../lib/docs_generator.rb:72:in `run'
      	from ./bin/../lib/docs_generator.rb:62:in `foreach'
      	from ./bin/../lib/docs_generator.rb:62:in `run'
      	from ./bin/../lib/docs_generator.rb:58:in `foreach'
      	from ./bin/../lib/docs_generator.rb:58:in `run'
      	from ./bin/generate:25
      

      Attachments

        Activity

          People

            mwbrooks Michael William Brooks
            mwbrooks Michael William Brooks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: