cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Updated] (CB-9017) CLI Platform Add Support for Non Global NodeJS Path
Date Mon, 13 Jul 2015 23:33:04 GMT


Shazron Abdullah updated CB-9017:
    Component/s:     (was: iOS)

> CLI Platform Add Support for Non Global NodeJS Path
> ---------------------------------------------------
>                 Key: CB-9017
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android, Browser, CLI, CordovaLib
>    Affects Versions: 5.0.1
>         Environment: Command line environments where "node" isn't the PATH of the current
>            Reporter: Ryan Thomas
>            Priority: Minor
>              Labels: cordova-cli, cordova-lib, easyfix, nodejs
> Executing the CLI "platform add <platforms>" command using locally installed node
binaries, cordova instances, and so forth will fail when the cli attempts to call through
to the platform specific create.bat file.
> One simple resolution would be to allow the cli to pass the current node execution path
through to the spawned call via an optional command line argument.
> An example implemenation of passing through the node process exec path for the android
platform can be found at the below links:
> [cordova-lib|]
> [cordova-android|]
> The example implementation upates the platform.js/getCreateArgs function in the cordova-lib
component to pass through the extra argument for the process.execPath. The cordova-android
update modifies the bin/create.bat file to process the optional --process-exec-path argument
if present. It also modfies bin/create to include the --process-exec-path in the 'nopt' options.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message