Coder Social home page Coder Social logo

Comments (9)

yogskumar avatar yogskumar commented on July 28, 2024 14

hi @ifredom just use below command

  1. npm uninstall -g cordova
  2. npm install -g cordova

and let me know if you have any issue

from cordova-fetch.

wayneburkett avatar wayneburkett commented on July 28, 2024 9

JUST for knowledge, This occurs when there is a mismatch of the plugins name try to update or sync the plugin's name from package.json file.

Mismatch where? What two (or more) things are you referring to here that could be mismatched?

from cordova-fetch.

markarupert avatar markarupert commented on July 28, 2024 1

I ended up wiping the platform and reloading all of the plugins and the ghost problem went away.

Thanks.

from cordova-fetch.

HarshitChhipa avatar HarshitChhipa commented on July 28, 2024 1

JUST for knowledge, This occurs when there is a mismatch of the plugins name try to update or sync the plugin's name from package.json file.

from cordova-fetch.

breautek avatar breautek commented on July 28, 2024

Does it work if you prefix your filepath with file: like below?

cordova plugin add file:../cordova-background-geolocation

from cordova-fetch.

ifredom avatar ifredom commented on July 28, 2024

How to solve this problem

from cordova-fetch.

smallscript avatar smallscript commented on July 28, 2024

Uninstall and reinstall fixed my problem of this same kind.

from cordova-fetch.

fattoliu avatar fattoliu commented on July 28, 2024

JUST for knowledge, This occurs when there is a mismatch of the plugins name try to update or sync the plugin's name from package.json file.

thanks!

from cordova-fetch.

Wynand101 avatar Wynand101 commented on July 28, 2024

I did a mixture of all the above comments with some additions:

  • Remove all platforms (cordova platform rm android)
  • Remove all plugins (Wrote a script for this that repeats "cordova plugin rm " for all my plugins)
  • Clean my config.xml and package.json files (Checked all dependencies and versions to point to correct cordova version, in my case [email protected])
  • Run "npm install"
  • Add all my plugins back in (Wrote a script for this that repeats "cordova plugin add " for all my plugins)
  • Add Android platform back in (cordova platform add [email protected])
  • cordova run android

from cordova-fetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.