cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9273) "Copy www build phase" node is not found
Date Wed, 15 Jul 2015 20:47:04 GMT

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

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

So the final Run Script can look like this:

{code}
NODEJS_PATH=/usr/local/bin
NVM_NODE_PATH=~/.nvm/`nvm version`/bin
N_NODE_PATH=`find /usr/local/n/versions/node/* -maxdepth 0 -type d | tail -1`/bin
XCODE_NODE_PATH=`xcode-select --print-path`/usr/share/xcs/Node/bin

PATH=$NODEJS_PATH:$NVM_PATH:$N_PATH:$XCODE_NODE_PATH:$PATH node cordova/lib/copy-www-build-step.js
{code}

> "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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message