cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Naito (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-14111) Certificate error while adding camera plugin 2.4.0
Date Fri, 01 Jun 2018 03:26:00 GMT

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

Ken Naito commented on CB-14111:
--------------------------------

Which npm version do you use?
The error `Fetching from npm failed: certificate not trusted` may suggest that the npm global
registry is changed.
Please confirm `npm config list`.

In my environment using npm 2.15.11 and cordova@5.3.3,
the `cordova plugin add cordova-plugin-camera@~2.4.0` works.


> Certificate error while adding camera plugin 2.4.0
> --------------------------------------------------
>
>                 Key: CB-14111
>                 URL: https://issues.apache.org/jira/browse/CB-14111
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>    Affects Versions: 5.3.2
>            Reporter: Pratyaksh golash
>            Priority: Major
>              Labels: security
>             Fix For: 5.3.2
>
>
> While installing camera plugin in my project I am getting certification error:
>  
> {color:#FF0000} _Fetching plugin "cordova-plugin-camera@~2.4.0" via npm_{color}
> {color:#FF0000}_Fetching from npm failed: certificate not trusted_{color}
> {color:#FF0000} {color}
> {color:#FF0000} __ _exec error: Error: Command failed: /bin/sh -c cordova plugin add
cordova-plugin-camera@~2.4.0_{color}
> {color:#FF0000} __ _npm http GET [https://registry.npmjs.org/cordova-plugin-camera]_{color}
> {color:#FF0000} __ _npm http GET [https://registry.npmjs.org/cordova-plugin-camera]_{color}
> {color:#FF0000} __ _npm http GET [https://registry.npmjs.org/cordova-plugin-camera]_{color}
> {color:#FF0000} __ _npm http GET [https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-2.4.1.tgz]_{color}
> {color:#FF0000} __ _npm ERR! fetch failed [https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-2.4.1.tgz]_{color}
> {color:#FF0000} __ _npm http GET [https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-2.4.1.tgz]_{color}
> {color:#FF0000}_npm ERR! fetch failed [https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-2.4.1.tgz]_{color}
> {color:#FF0000} __ _npm http GET [https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-2.4.1.tgz]_{color}
> {color:#FF0000}_npm ERR! fetch failed [https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-2.4.1.tgz]_{color}
> {color:#FF0000}_Error: certificate not trusted_{color}
> {color:#FF0000}_at Error (native)_{color}
> {color:#FF0000}_at TLSSocket.<anonymous> (_tls_wrap.js:929:36)_{color}
> {color:#FF0000}_at TLSSocket.emit (events.js:104:17)_{color}
> {color:#FF0000}_at TLSSocket._finishInit (_tls_wrap.js:460:8)_{color}
>  
> {color:#333333}_Cordova version : 5.3.2_{color}
> {color:#333333}_Camera plugin version: 2.4.0_{color}
>  
> {color:#333333}_Did anyone have any pointer on this?_{color}



--
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