[ https://issues.apache.org/jira/browse/CB-14166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605180#comment-16605180 ]
Ken Naito commented on CB-14166: -------------------------------- [~Sujan12] My log is followings. {code} C:\Users\knaito\Documents\work\cordova λ node -v v10.5.0 C:\Users\knaito\Documents\work\cordova λ npm -v 6.1.0 C:\Users\knaito\Documents\work\cordova λ cordova80 create sample80C node "C:\Users\knaito\Documents\App\cordova\cordova80\node_modules\cordova\bin\cordova" create sample80C Creating a new cordova project. C:\Users\knaito\Documents\work\cordova λ cd sample80C C:\Users\knaito\Documents\work\cordova\sample80C (helloworld@1.0.0) λ cordova80 platform add windows@5.0.0 node "C:\Users\knaito\Documents\App\cordova\cordova80\node_modules\cordova\bin\cordova" platform add windows@5.0.0 Using cordova-fetch for cordova-windows@5.0.0 Adding windows project... Creating Cordova Windows Project: Path: platforms\windows Namespace: io.cordova.hellocordova Name: HelloCordova Windows project created with cordova-windows@5.0.0 Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin cordova-plugin-whitelist@1 via registry. Probably this is either a connection problem, or plugin spec is incorrect. 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. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\knaito\AppData\Roaming\npm-cache\_logs\2018-09-06T02_17_57_386Z-debug.log --save flag or autosave detected Saving windows@~5.0.0 into config.xml file ... {code} > Cordova on windows fails when adding plugin > ------------------------------------------- > > Key: CB-14166 > URL: https://issues.apache.org/jira/browse/CB-14166 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows > Reporter: takuya > Assignee: Jesse MacFadyen > Priority: Blocker > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org