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

Can't use plugins when running on OSX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0.1
    • None
    • AllPlugins, cordova-osx
    • None
    • OSX 10.10.5

    Description

      I can't use any plugins so far when I deploy on OSX. I have tried cordova-plugin-file, cordova-plugin-camera and cordova-plugin-bluetoothle.

      In each case, it works fine on Android, but fails on OSX with a message like "10/02/2017 15:03:28.056 HelloWorld[15580]: ERROR: Plugin 'File' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml."

      I'm using the command line. I have tried removing all the platforms and adding them again. I am running with "cordova run osx".

      I'm not sure what version of cordova I have - I installed using 'npm install -g cordova'. 'cordova version' reports 6.5.0, but that version does not seem to exist in the dropdown above.

      Attachments

        Issue Links

          Activity

            People

              kerrishotts Kerri Shotts
              mo-seph Dave Murray-Rust
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: