Closed Samaalir closed 6 years ago
I'm getting the exact same error
Ok change the command to cordova plugin add https://github.com/DisyInformationssysteme/Cordova-spatialite-storage#master-rc, there is no master branch, and cordova is looking for one
Hello, I'm also getting error from following command cordova plugin add https://github.com/DisyInformationssysteme/Cordova-spatialite-storage#master-rc
Failed to fetch plugin https://github.com/DisyInformationssysteme/Cordova-spatialite-storage#master-rc via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Failed to get absolute path to installed module
Hi,
I can not reproduce the error. Tried it with cordova 6.1.1 and 8.1.2. Can you upload a minimum example reproducing the error?
Hi,
I'm on cordova 8.1.2 and ionic 4.10.3 my package.json is as follows: { "name": "testSpatialite", "version": "0.0.1", "author": "Ionic Framework", "homepage": "https://ionicframework.com/", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/common": "^7.2.2", "@angular/core": "^7.2.2", "@angular/forms": "^7.2.2", "@angular/http": "^7.2.2", "@angular/platform-browser": "^7.2.2", "@angular/platform-browser-dynamic": "^7.2.2", "@angular/router": "^7.2.2", "@ionic-native/core": "^5.0.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/sqlite": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "^4.0.0", "cordova-android": "7.1.4", "cordova-plugin-device": "^2.0.2", "cordova-plugin-ionic-keyboard": "^2.1.3", "cordova-plugin-ionic-webview": "1.2.1", "cordova-plugin-splashscreen": "^5.0.2", "cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-whitelist": "^1.3.3", "core-js": "^2.5.4", "rxjs": "~6.3.3", "zone.js": "~0.8.29" }, "devDependencies": { "@angular-devkit/architect": "~0.12.3", "@angular-devkit/build-angular": "~0.12.3", "@angular-devkit/core": "~7.2.3", "@angular-devkit/schematics": "~7.2.3", "@angular/cli": "~7.2.3", "@angular/compiler": "~7.2.2", "@angular/compiler-cli": "~7.2.2", "@angular/language-service": "~7.2.2", "@ionic/angular-toolkit": "~1.3.0", "@types/node": "~10.12.0", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "codelyzer": "~4.5.0", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~3.1.4", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.4.0", "ts-node": "~8.0.0", "tslint": "~5.12.0", "typescript": "~3.1.6" }, "description": "An Ionic project", "cordova": { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-ionic-keyboard": {}, "cordova-spatialite-storage": {}, "cordova-plugin-ionic-webview": {} }, "platforms": [ "android" ] } } And my ionic info is : Ionic:
ionic (Ionic CLI) : 4.10.3 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.0.1 @angular-devkit/build-angular : 0.12.4 @angular-devkit/schematics : 7.2.4 @angular/cli : 7.2.4 @ionic/angular-toolkit : 1.3.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.1.4 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, (and 5 other plugins)
System:
Android SDK Tools : 26.1.1 (/home/User/Android/Sdk) NodeJS : v10.11.0 (/usr/local/bin/node) npm : 6.8.0 OS : Linux 4.13
Hi, sorry for the late reply.
After some research I could reproduce it sometimes.
I was able to fix it by running:
cordova plugin remove cordova-spatialite-storage
and
cordova plugin add https://github.com/DisyInformationssysteme/Cordova-spatialite-storage#master-rc
.
Another solution would be to downgrade cordova to version 7, see https://stackoverflow.com/a/49536102
Have a nice weekend!
Hello, I was trying to install this plugin but Ive got this error, Am I missing something ?