Ryan Thomas created CB-9017:
-------------------------------

             Summary: 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: Android, Browser, CLI, CordovaLib, iOS
    Affects Versions: 5.0.1
         Environment: Command line environments where "node" isn't the PATH of 
the current process.
            Reporter: Ryan Thomas
            Priority: Minor


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|https://github.com/RhinobyteSoftware/cordova-lib/tree/feature/LocalNodePath]
[cordova-android|https://github.com/RhinobyteSoftware/cordova-android/tree/feature/LocalNodePath]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to