[ https://issues.apache.org/jira/browse/CB-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628669#comment-14628669 ]
Shazron Abdullah edited comment on CB-9273 at 7/15/15 8:27 PM: --------------------------------------------------------------- For the "n" package manager it's a bit tricky. All installed node versions are installed at: {code} /usr/local/n/versions/node {code} ... where the different versions are in subfolders with the version number as the folder name. We'll have to assume that we should use the latest version. So, the path to the latest "n" package manager node version bin folder is: {code} /usr/local/n/versions/node/`find /usr/local/n/versions/node -type d -maxdepth 1 -exec basename {} \; | tail -1`/bin {code} That's my first stab at it, maybe there's a simpler way. I couldn't find any info in the "n" docs. was (Author: shazron): For the "n" package manager its a bit tricky. All installed node versions are installed at: {code} /usr/local/n/versions/node {code} ... where the different versions are in subfolders with the version number as the folder name. We'll have to assume that we should use the latest version. So, the path to the latest "n" package manager node version bin folder is: {code} /usr/local/n/versions/node/`find /usr/local/n/versions/node -type d -maxdepth 1 -exec basename {} \; | tail -1`/bin {code} That's my first stab at it, maybe there's a simpler way. I couldn't find any info in the "n" docs. > "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