You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2015/09/16 00:37:46 UTC

[jira] [Resolved] (CB-9017) CLI Platform Add Support for Non Global NodeJS Path

     [ https://issues.apache.org/jira/browse/CB-9017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen resolved CB-9017.
---------------------------------
    Resolution: Won't Fix

Current thinking is more modular platform tooling that uses a standardized api across all platforms.  So there will be no need to actually call the .bat file, we will simply call platform.create(...)

> CLI Platform Add Support for Non Global NodeJS Path
> ---------------------------------------------------
>
>                 Key: CB-9017
>                 URL: https://issues.apache.org/jira/browse/CB-9017
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CordovaLib
>    Affects Versions: 5.0.1
>         Environment: Command line environments where "node" isn't the PATH of the current process.
>            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.
> Steps To Resolution
> # Update platform tooling sub shell scripts in platforms to process an additional --process-exec-path argument if present.
> #* cordova-amazon-fireos
> #* cordova-android
> #* cordova-blackberry
> #* cordova-firefoxos
> #* cordova-ios
> #* cordova-ubuntu
> #* cordova-wp8
> #* cordova-windows
> #* Optional Additional Platforms (cordova-browser, cordova-osx, cordova-tizen)
> # Update general tooling in cordova-lib / cordova-cli to allow the user to explicitly specify that the process exec path should be passed through when spawning sub shell processes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org