You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcel Kinard (JIRA)" <ji...@apache.org> on 2014/09/17 23:34:34 UTC

[jira] [Commented] (CB-7574) coho create-archive has fatal error for plugins

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

Marcel Kinard commented on CB-7574:
-----------------------------------

Looks like this commit changed the default format from zip to npm-pack, but failed to consider plugins:

https://git-wip-us.apache.org/repos/asf?p=cordova-coho.git;a=commit;h=221e9fbbff865ed69f0337e362e65a5512eb3658

So it is trying to create an npm-pack of a plugin, which it can't do because it doesn't have a package.json file. So when the npm-pack command failed, the name of the generated tgz was null, and that was getting passed to path.join.

> coho create-archive has fatal error for plugins
> -----------------------------------------------
>
>                 Key: CB-7574
>                 URL: https://issues.apache.org/jira/browse/CB-7574
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Coho
>            Reporter: Marcel Kinard
>            Assignee: Marcel Kinard
>            Priority: Minor
>
> When trying to create a signed archive for a plugin, it fails with the error "argument to path.join is null".



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