Comments (5)
Even with cordova plugin add https://github.com/JoschkaSchulz/cordova-plugin-image-resizer.git
, I have the same issue :
Failed to fetch plugin https://github.com/JoschkaSchulz/cordova-plugin-image-resizer.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t https://github.com/JoschkaSchulz/cordova-plugin-image-resizer.git
npm ERR!
npm ERR! fatal: unable to access 'https://github.com/JoschkaSchulz/cordova-plugin-image-resizer.git/': Problem with the SSL CA cert (path? access rights?)
Env:
cli packages: (/path/to/app/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.1.2 ([email protected])
local packages:
@ionic/app-scripts : 2.0.0
Cordova Platforms : android 7.1.0 browser 5.0.4
Ionic Framework : ionic-angular 3.5.0
System:
Node : v10.14.1
npm : 5.10.0
OS : Linux 4.10
from cordova-plugin-image-resizer.
This is a great plugin and was perfectly working, but this error is very frustrating... The id change is a mess and has made this plugin totally unusable... Any solution on how to proceed to repair? I've tried to remove any reference to the plugin anywhere in the project but still cannot install
from cordova-plugin-image-resizer.
Finally I've searched protonet
and removing everything relate. I had to remove also the files from android platform as having this error:
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-simple-image-resizer': CordovaError: Uh oh!
"/Volumes/Apps/MyApp/app/platforms/android/src/info/protonet/imageresizer/ImageResizer.java" already exists!
at copyNewFile (/Volumes/Apps/MyApp/app/platforms/android/cordova/lib/pluginHandlers.js:245:45)
at install (/Volumes/Apps/MyApp/app/platforms/android/cordova/lib/pluginHandlers.js:43:17)
at ActionStack.process (/Volumes/Apps/MyApp/app/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
at PluginManager.doOperation (/Volumes/Apps/MyApp/app/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
at PluginManager.addPlugin (/Volumes/Apps/MyApp/app/platforms/android/cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
at /Volumes/Apps/MyApp/app/platforms/android/cordova/Api.js:243:74
at _fulfilled (/Volumes/Apps/MyApp/app/platforms/android/cordova/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/Volumes/Apps/MyApp/app/platforms/android/cordova/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/Volumes/Apps/MyApp/app/platforms/android/cordova/node_modules/q/q.js:816:13)
at /Volumes/Apps/MyApp/app/platforms/android/cordova/node_modules/q/q.js:570:49
Finally I could do...
from cordova-plugin-image-resizer.
You can try with cordova plugin add https://github.com/JoschkaSchulz/cordova-plugin-image-resizer.git
, the command from the README file is incorrect.
from cordova-plugin-image-resizer.
Having the same issue, even with the corrected URL. Did anyone find a workaround ?
from cordova-plugin-image-resizer.
Related Issues (20)
- Please add the fileName(String) option for IOS too. Currently it only supports android and windows HOT 2
- Image proportion HOT 2
- Unable to create compressed file in Android Oreo (8.0) HOT 13
- Mismatch in ID/Package name causing double addition of plugin to package.json HOT 2
- Build failing (Unknown property `ANDROID_EXIFINTERFACES_VERSION`) HOT 18
- Nested FolderName throwing exception HOT 2
- fileName parameter on iOS does not work the way it is documented? HOT 7
- Always execute the error function
- Build failure HOT 4
- Short on Time HOT 1
- build failed Could not find exifinterface.jar HOT 4
- Failed to resize an image on iOS 12.x HOT 1
- Android giving black background for transparent Images HOT 1
- IOS gives back an empty base64 string
- Version 0.2 isn't avaliable in NPM HOT 3
- base64: true not work in Android, returns file:/// uri scheme HOT 4
- Anyone got this working using cordova-plugin-camera-preview
- Code executes synchronously. Android HOT 2
- rotating camera captured photo by -90 degree and when selected from galary HOT 1
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-plugin-image-resizer.