[ https://issues.apache.org/jira/browse/CB-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628465#comment-14628465 ]
Sergey Shakhnazarov commented on CB-9273: ----------------------------------------- [~shazron], what do you think of extending Xcode PATH like this? {code} shellScript = "export PATH=/usr/local/bin:~/.nvm/`nvm version`/bin:`xcode-select --print-path`/usr/share/xcs/Node/bin:$PATH && node cordova/lib/copy-www-build-step.js"; {code} Do we need to handle absence of *nvm* additionally? > "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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org