Comments (7)
@ebhsgit were you able to find a work around for this? I have the same issue with cordova-ios git version...
from cordova-fetch.
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.
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.
@erisu this is the bug we talked about in slack...
from cordova-fetch.
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.
@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.
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)
- cordova cannot add plugins from git (CordovaError: Error: An unknown git error occurred) HOT 15
- coho audit-license-headers issues in cordova-fetch HOT 4
- cordova-fetch patch release August 2018 HOT 1
- Incorrect module ID in case of certain URL patterns HOT 3
- Support node recursive module resolution algorithm HOT 2
- Detect which package manager to invoke HOT 5
- How to handle `save: true` when requested package is already installed HOT 5
- cordova-fetch is much slower at prepare HOT 26
- Private repository and UNMET DEPENDENCY HOT 3
- Install a cordova plugin by tagged version from a custom git repo fails HOT 2
- Adding Cordova plugins is much slower HOT 1
- Too slow donwloading/installing plugins HOT 1
- Fails to get the installed target package name HOT 1
- Save platforms and plugins to devDependencies HOT 5
- cordova-fetch cannot install plugins from git repos with npm 3 if project has unmet peer dependencies HOT 9
- CordovaError: Could not determine package name from output HOT 9
- Cannot determine package name from spec git+https://github.com... HOT 10
- [email protected] -> [email protected] breaks plugin installs using git repos or local directories HOT 10
- cordova prepare : failed to fetch plugins with github spec with npm@7 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-fetch.