You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Brooks (JIRA)" <ji...@apache.org> on 2013/07/01 23:11:20 UTC

[jira] [Created] (CB-4060) npm dependency references a git repository

Michael Brooks created CB-4060:
----------------------------------

             Summary: npm dependency references a git repository
                 Key: CB-4060
                 URL: https://issues.apache.org/jira/browse/CB-4060
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugman
         Environment: https://github.com/apache/cordova-plugman/blob/master/package.json#L23
            Reporter: Michael Brooks
            Assignee: Filip Maj


*Problem:*

{{npm}} throws a {{ENOGIT}} error when installing the {{plugman}} module on a system that does not have git installed.

This is a common scenario on a Windows machine, where many users will use _node.js command prompt_ to interact with node applications. In order to access git, the user must use _GitBash command prompt_ or add git to their _node.js command prompt_ {{PATH}}.

*Reason:*

The {{package.json}} references the {{git}} repository [filmaj/node-xcode|https://github.com/apache/cordova-plugman/blob/master/package.json#L23].

*Solution:*

The {{package.json}} should reference a published node module or a standard HTTP address that references a tarball.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira