cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-14166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16546931#comment-16546931
] 

ASF GitHub Bot commented on CB-14166:
-------------------------------------

brodybits edited a comment on issue #622: CB-14166: (cli) Fixed issue when installing plugins
on windows
URL: https://github.com/apache/cordova-lib/pull/622#issuecomment-405628709
 
 
   For npm I get different results on macOS:
   ```sh
   $ npm i --save lodash@^1.0.0 && grep lodash package.json
   npm notice created a lockfile as package-lock.json. You should commit this file.
   npm WARN lotest1@1.0.0 No description
   npm WARN lotest1@1.0.0 No repository field.
   
   + lodash@1.3.1
   added 1 package from 4 contributors and audited 1 package in 34.011s
   found 1 low severity vulnerability
     run `npm audit fix` to fix them, or `npm audit` for details
       "lodash": "^1.3.1"
   Brodys-MacBook-Pro:lotest1 brodybits$ npm --version
   6.2.0
   ```
   
   I wonder if we should open a new ~~cordova-discuss~~ _`cordova-windows`_ issue to discuss
these issues further?

----------------------------------------------------------------
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:
users@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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message