Coder Social home page Coder Social logo

Comments (7)

HarelM avatar HarelM commented on September 1, 2024

@ebhsgit were you able to find a work around for this? I have the same issue with cordova-ios git version...

from cordova-fetch.

HarelM avatar HarelM commented on September 1, 2024

I think I was able to overcome this by placing the cordova-ios git link in dependencies and not devDependencies. I'm failing to understand the logic here if it's not a bug...

from cordova-fetch.

QuentinFarizon avatar QuentinFarizon commented on September 1, 2024

Same here, don't put cordova-android and cordova-ios in devDependencies, or they will not be taken into account.ยต
When running cordova build, cordova fetches another version from npm, silently.

Definintely a bug according to #65 mentioning "platforms and plugins"

from cordova-fetch.

HarelM avatar HarelM commented on September 1, 2024

@erisu this is the bug we talked about in slack...

from cordova-fetch.

erisu avatar erisu commented on September 1, 2024

Yeah, I remember, except I can not reproduce this at all.

I showed you all the steps I took to try to reproduce it and its output but everything checked out correctly.

from cordova-fetch.

HarelM avatar HarelM commented on September 1, 2024

@erisu I'm having this issue again (this time with a regular version and not git repo version).
See if you can reproduce it on your end:
Clone https://github.com/IsraelHikingMap/Site

cd IsraelHiking.Web
npm install
rm -rf platforms/ && rm -rf plugins/ (just in case...)
npx cordova platform remove android
npx cordova platform add [email protected]
npx cordova prepare android

this will output the following: Using cordova-fetch for cordova-android@^9.0.0.

If I move the "cordova-android": "^10.1.1" in my package.json from devDependencies to dependencies prepare command will work with the right version.

from cordova-fetch.

breautek avatar breautek commented on September 1, 2024

I think this will be resolved by apache/cordova-lib#880 which was just merged in. In a day or two, you can test it by installing cordova@nightly.

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.