[
https://issues.apache.org/jira/browse/CB-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13871342#comment-13871342
]
Josh Soref commented on CB-3380:
--------------------------------
[[email protected]]: r-
{quote}
$ webworks run
my_project/platforms/blackberry10/cordova/init: line 66: [: missing `]'
{quote}
{quote}
$ grep -n . platforms/blackberry10/cordova/init|grep 66:
66: elif [ ! -x "$LOCAL_NODE_BIN" && ! -x "$NPM" ]; then
{quote}
it should be:
{quote}
66: elif [ ! -x "$LOCAL_NODE_BIN" ] && [ ! -x "$NPM" ]; then
{quote}
> [BlackBerry10] Add node as a dependency in check_reqs
> -----------------------------------------------------
>
> Key: CB-3380
> URL: https://issues.apache.org/jira/browse/CB-3380
> Project: Apache Cordova
> Issue Type: Improvement
> Components: BlackBerry
> Reporter: Bryan Higgins
> Assignee: Bryan Higgins
> Fix For: 2.8.0
>
>
> Branching off from this issue: https://issues.apache.org/jira/browse/CB-3161
> We discussed hiding node dependency from the user, but this is difficult to
> achieve cross-platform. At a minimum we would need to provide
> windows/mac/linux binaries and the NPM module.
> The CLI will require node, so post 3.0 this is not going to be as much of an
> issue.
> What we will do for now is:
> 1) Update check_reqs to determine if node is install. This is already called
> by create to check for NDK installation.
> 2) Update the getting started guide to point to node js download page.
> 3) check_reqs (or create) should also check if the node modules are
> downloaded, otherwise run npm install
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)