[ 
https://issues.apache.org/jira/browse/CB-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620094#comment-14620094
 ] 

Shazron Abdullah commented on CB-9273:
--------------------------------------

To be robust, we have to detect node in three locations, and use the first 
available:

1. /usr/local/bin/node which is installed by the node.js installer
2. ~/.nvm/`nvm version`/bin/node which is the current node version set by nvm
3. `xcode-select --print-path`/usr/share/xcs/Node/bin/node which is the node 
included in Xcode.app

> "Copy www build phase" node is not found
> ----------------------------------------
>
>                 Key: CB-9273
>                 URL: https://issues.apache.org/jira/browse/CB-9273
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: cordova-ios 4.x
>            Reporter: Shazron Abdullah
>         Attachments: xcode-build-phase-node.png
>
>
> I have node installed using nvm, and the build phase cannot find node.
> The path to node in nvm is in $PATH in Terminal. It may not be in Xcode's 
> environment variables.



--
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