incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtan...@gmail.com
Subject Re: [jira] [Commented] (CB-269) cordova-js requires too many globally installed node packages to do anything
Date Tue, 21 Feb 2012 00:12:16 GMT
I usually install node to my home folder so I don't need to sudo.

I would argue that jake should be global since it is a build tool, much like make or rake.
Sent on the TELUS Mobility network with BlackBerry

-----Original Message-----
From: "Patrick Mueller (Commented) (JIRA)" <jira@apache.org>
Date: Tue, 21 Feb 2012 00:05:34 
To: <callback-dev@incubator.apache.org>
Reply-To: callback-dev@incubator.apache.org
Subject: [jira] [Commented] (CB-269) cordova-js requires too many globally
 installed node packages to do anything


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

Patrick Mueller commented on CB-269:
------------------------------------

Actually, it appears some (all) of the requirements are handled via the '{{configure}}' script.
 

Jake is installed globally, but shouldn't be - in fact, that invocation won't work, unless
you run {{configure}} under sudo anyway.


                
> cordova-js requires too many globally installed node packages to do anything
> ----------------------------------------------------------------------------
>
>                 Key: CB-269
>                 URL: https://issues.apache.org/jira/browse/CB-269
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: CordovaJS
>            Reporter: Patrick Mueller
>
> Just noticed that {{jake test}} fails if you don't have the npm package {{jsdom}} globally
installed.
> I know there are more of these lurking.  We shouldn't have *ANY* requirements for globally
installed packages.
> Instead, we should reference all the packages we need in the {{package.json}} dependencies
(or maybe devDependencies) value, and then we can "auto-install" them by just running "{{npm
install}}".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
Mime
View raw message