[ https://issues.apache.org/jira/browse/CB-14166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541700#comment-16541700 ]
ASF GitHub Bot commented on CB-14166: ------------------------------------- janpio commented on issue #622: CB-14166: (cli) Fixed issue when installing plugins on windows URL: https://github.com/apache/cordova-lib/pull/622#issuecomment-404526010 Unfortunately seems to be failing on Windows/ AppVeyor: ``` Failures: 1) update pkg.json AND config.xml to include all plugins/merge variables and check for duplicates Test#014 : update pkg.json AND config.xml to include all plugins and merge variables (no dupes) Message: Expected '^2.3.0' to equal '^2.4.1'. Stack: Error: Expected '^2.3.0' to equal '^2.4.1'. at <Jasmine> at C:\projects\cordova-lib\integration-tests\pkgJson-restore.spec.js:1068:47 at _fulfilled (C:\projects\cordova-lib\node_modules\q\q.js:854:54) at self.promiseDispatch.done (C:\projects\cordova-lib\node_modules\q\q.js:883:30) at Promise.promise.promiseDispatch (C:\projects\cordova-lib\node_modules\q\q.js:816:13) Message: Expected '^2.3.0' to equal '^2.4.1'. Stack: Error: Expected '^2.3.0' to equal '^2.4.1'. at <Jasmine> at C:\projects\cordova-lib\integration-tests\pkgJson-restore.spec.js:1088:67 at _fulfilled (C:\projects\cordova-lib\node_modules\q\q.js:854:54) at self.promiseDispatch.done (C:\projects\cordova-lib\node_modules\q\q.js:883:30) at Promise.promise.promiseDispatch (C:\projects\cordova-lib\node_modules\q\q.js:816:13) 2) update config.xml to include the plugin that is in pkg.json Test#015 : update config.xml to include all plugins/variables from pkg.json Message: Expected '^2.3.0' to equal '^2.4.1'. Stack: Error: Expected '^2.3.0' to equal '^2.4.1'. at <Jasmine> at C:\projects\cordova-lib\integration-tests\pkgJson-restore.spec.js:1184:71 at _fulfilled (C:\projects\cordova-lib\node_modules\q\q.js:854:54) at self.promiseDispatch.done (C:\projects\cordova-lib\node_modules\q\q.js:883:30) at Promise.promise.promiseDispatch (C:\projects\cordova-lib\node_modules\q\q.js:816:13) Message: Expected '^2.3.0' to equal '^2.4.1'. Stack: Error: Expected '^2.3.0' to equal '^2.4.1'. at <Jasmine> at C:\projects\cordova-lib\integration-tests\pkgJson-restore.spec.js:1189:47 at _fulfilled (C:\projects\cordova-lib\node_modules\q\q.js:854:54) at self.promiseDispatch.done (C:\projects\cordova-lib\node_modules\q\q.js:883:30) at Promise.promise.promiseDispatch (C:\projects\cordova-lib\node_modules\q\q.js:816:13) Message: Expected $.spec = '^2.3.0' to equal '^2.4.1'. Stack: Error: Expected $.spec = '^2.3.0' to equal '^2.4.1'. at <Jasmine> at C:\projects\cordova-lib\integration-tests\pkgJson-restore.spec.js:1193:39 at _fulfilled (C:\projects\cordova-lib\node_modules\q\q.js:854:54) at self.promiseDispatch.done (C:\projects\cordova-lib\node_modules\q\q.js:883:30) at Promise.promise.promiseDispatch (C:\projects\cordova-lib\node_modules\q\q.js:816:13) ``` Is this a new problem caused by this PR or unrelated test failure? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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