cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin
Date Tue, 17 Jul 2018 14:05:00 GMT


ASF GitHub Bot commented on CB-14166:

oliversalzburg commented on issue #622: CB-14166: (cli) Fixed issue when installing plugins
on windows
URL: might be
of interest here. Ultimately however, I would recommend just moving to
or any other library that gets it right.
   IMHO, this is not to be solved here, but in cordova-fetch, which is what shells out and
which is what should be adjusted generically, not for this detail specifically.
   I quickly dropped execa into the project to try it out and it looks promising. However,
there are still failures in this test suite, but I claim that those tests might be broken.
Test#015 asserts that when installing **cordova-plugin-camera@^2.3.0** that **cordova-plugin-camera@^2.4.1**
would be added to the `package.json`. I don't think that is correct, because when I explicitly
request `^2.3.0`, then *that* should be persisted to `package.json`, shouldn't it?

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:

> Cordova on windows fails when adding plugin
> -------------------------------------------
>                 Key: CB-14166
>                 URL:
>             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
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that encodeURIComponent
> ```
> This error happens for windows environment only.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message