Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid version: 1.0 #3

Open
arruix opened this issue Sep 7, 2017 · 1 comment
Open

Invalid version: 1.0 #3

arruix opened this issue Sep 7, 2017 · 1 comment

Comments

@arruix
Copy link

arruix commented Sep 7, 2017

I'm trying to create a windows application with your plugin but when I want create the windows version using cordova platform add windows in the command line I got this error:

Installing "cordova-plugin-indexeddb-async" for windows
Failed to install 'cordova-plugin-indexeddb-async': TypeError: Invalid Version: 1.0
at new SemVer (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\semver\semver.js:293:11)
at Range.test (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\semver\semver.js:1036:15)
at Function.satisfies (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\semver\semver.js:1085:16)
at installDependency (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:563:20)
at C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:434:32
at _fulfilled (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:749:13)
at C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:810:14
at flush (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
Error: Invalid Version: 1.0.

Cordova version: 7.0.1
Window platform version: 5.0.0
NodeJs version: 6.11.3
npm version: 3.10.10

When I was using the Window platform version 4.x was able to install your plugin.

@jakedegiovanni
Copy link

jakedegiovanni commented Jan 2, 2018

@arruix I realise this is pretty old at this point but I've run into the same issue and was wondering if you had found a solution?

EDIT: I seem to have gotten past the issue by changing the plugin version number in plugin.xml of the cordova-plugin-wensql dependency. Changed from version="1.0" to version="1.0.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants