You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2016/02/02 00:20:40 UTC

[jira] [Created] (CB-10500) cordova restore/prepare CPR plugin fails silently

Steve Gill created CB-10500:
-------------------------------

             Summary: cordova restore/prepare CPR plugin fails silently
                 Key: CB-10500
                 URL: https://issues.apache.org/jira/browse/CB-10500
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
    Affects Versions: 6.0.0
            Reporter: Steve Gill
            Assignee: Steve Gill
             Fix For: 6.0.1


add the following line to your config.xml

{code:xml}
<plugin name="com.pushwood.plugins.pushwoosh" spec="~4.1.0" />
{code}

do cordova prepare and you will notice get these two lines

{code}
Discovered plugin "com.pushwoosh.plugins.pushwoosh" in config.xml. Installing to the project
Fetching plugin "com.pushwoosh.plugins.pushwoosh@~4.1.0" via npm
{code}

Problem is, that plugin doesn't get installed and doesn't actually get fetched because it doesn't exist on npm. It is failing silently.

If I add the plugin via `cordova plugin add com.pushwoosh.plugins.pushwoosh@~4.1.0`, I get the error message:

Error: Failed to fetch plugin com.pushwoosh.plugins.pushwoosh@~4.1.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: Registry returned 404 for GET on https://registry.npmjs.org/com.pushwoosh.plugins.pushwoosh

Seems to me it is a problem with save restore work not catching the error message. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org