-
Notifications
You must be signed in to change notification settings - Fork 243
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
Fail to add plugin with prerelease version because of "Invalid Version" #867
Comments
ath0mas
changed the title
Fail to add plugin with prelease version because of "Invalid Version"
Fail to add plugin with prerelease version because of "Invalid Version"
Feb 20, 2021
Seems to be during See debug logs: $ cordova plugin add cordova-plugin-ns0m-media-capture -d
$ cordova plugin add cordova-plugin-ns0m-file-transfer -d
$ cordova plugin add cordova-plugin-ns0m-disk-space -d
vs. $ cordova plugin add cordova-plugin-ns0m-media-capture@3.0.4-3 -d
$ cordova plugin add cordova-plugin-ns0m-file-transfer@2.0.0-2 -d
$ cordova plugin add cordova-plugin-ns0m-disk-space@1.1.0 -d
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Problem
What is expected to happen?
Basic
cordova plugin add <plugin-name>
of a plugin published on NPM with prerelease version should install without error.What does actually happen?
Fail to add plugin because of
Invalid Version: null
.Information
It works fine forcing
@<exact-version>
spec, or for same kind of plugin but with a release version.Command or Code
while
npm install
s are running fine, fetching 3.0.4-3, 2.0.0-2, and 1.1.0 respectively,and same for
Environment, Platform, Device
Windows 10, Node 14 & 15, NPM 6 & 7
Version information
Checklist
The text was updated successfully, but these errors were encountered: