-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: cordova-windows
-
Labels:None
cordova on windows fails to add the plugin.
This error happens even when cordova-plugin-whitelist.
Therefore `cordova platform add windows` also fails.
For example,
```
> cordova create sample
> cd sample
> cordova platform add windows
```
brings following error.
```
...
Check your connection and plugin name/version/URL.
Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit code 1 Error output:
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name ""1"": Tags may not have any characters that encodeURIComponent encodes.
```
This error happens for windows environment only.