[
https://issues.apache.org/jira/browse/CB-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214020#comment-13214020
]
Patrick Mueller commented on CB-269:
------------------------------------
So, now that jake is installed in node_modules via the `npm install`, the way
you need to invoke it is :
{noformat}
./node_modules/.bin/jake blah
{noformat}
Tempted to just say "we assume you have jake installed, but if you don't, you
can globally install it via `npm -g install jake`."
That, or we create a jake shim script in the base directory:
{noformat}
#!/bin/sh
`dirname $0`/node_modules/.bin/jake $*
{noformat}
> 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
> Assignee: Filip Maj
> Fix For: 1.5.0
>
>
> 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