cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13206) local plugin fails to fetch/install during restore
Date Thu, 07 Sep 2017 03:23:02 GMT

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

ASF subversion and git services commented on CB-13206:
------------------------------------------------------

Commit 9ed9164eb92d8c7cac2998389a334038f49d5dbb in cordova-lib's branch refs/heads/master
from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=9ed9164 ]

CB-13206: fixed incorrect target being passed in to plugin add from restore-util.js


> local plugin fails to fetch/install during restore 
> ---------------------------------------------------
>
>                 Key: CB-13206
>                 URL: https://issues.apache.org/jira/browse/CB-13206
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>    Affects Versions: cordova@7.0.1
>            Reporter: Steve Gill
>            Assignee: Steve Gill
>              Labels: backlog, tools-next
>             Fix For: cordova@7.1.0
>
>
> Looks like the logic in determinePluginTarget function in src/cordova/plugin/add.js is
a little messed up. Line 231 seems to be the culprit. 
> {code}
> cordova prepare
> Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.2-dev)
> Discovered plugin "phonegap-plugin-push" in config.xml. Adding it to the project
> Failed to restore plugin "phonegap-plugin-push" from config.xml. You might need to try
adding it again. Error: Failed to fetch plugin phonegap-plugin-push@../../../phonegap/phonegap-plugin-push
via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: npm: Command failed with exit code 254 Error output:
> npm ERR! addLocal Could not install /Users/steveng/repo/cordova/phonegap/phonegap-plugin-push
> npm ERR! path /Users/steveng/repo/cordova/phonegap/phonegap-plugin-push
> npm ERR! code ENOENT
> npm ERR! errno -2
> npm ERR! syscall open
> npm ERR! enoent ENOENT: no such file or directory, open '/Users/steveng/repo/cordova/phonegap/phonegap-plugin-push'
> npm ERR! enoent This is most likely not a problem with npm itself
> npm ERR! enoent and is related to npm not being able to find a file.
> npm ERR! enoent
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message