[
https://issues.apache.org/jira/browse/CB-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699451#comment-13699451
]
Filip Maj commented on CB-4039:
-------------------------------
I cannot reproduce. Can you try running with the {{-d}} flag, i.e. {{cordova -d
platform add ios}} ?
> Remove / Add platform fails
> ---------------------------
>
> Key: CB-4039
> URL: https://issues.apache.org/jira/browse/CB-4039
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.9.0
> Reporter: Christian Grobmeier
> Assignee: Filip Maj
>
> Because of another issue, I tried to remove a platform and then added it
> again:
> [project was viewable in the simualator]
> $ cordova platform remove ios
> $ cordova platform add ios
> node.js:810
> var cwd = process.cwd();
> ^
> Error: ENOENT, no such file or directory
> at Function.startup.resolveArgv0 (node.js:810:23)
> at startup (node.js:58:13)
> at node.js:901:3
> (running on Mac OSX 10.8, latest xcode)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira