[
https://issues.apache.org/jira/browse/CB-9953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950776#comment-15950776
]
Nikita Matrosov edited comment on CB-9953 at 3/31/17 12:24 PM:
---------------------------------------------------------------
[~shazron] , it seems that {code:none}cordova platform check{code} doesn't work
on windows OS (with any platform) if project isn't on the disk where temporary
folder is located. `updateWww` method is the cause of this problem that try to
get relative path using locations with different drive letters
(https://github.com/apache/cordova-ios/blob/b8ae88d822135a149ff1ea7b6e5feb045a2220eb/bin/templates/scripts/cordova/lib/prepare.js#L148)
and then use it in join method
(https://github.com/apache/cordova-lib/blob/master/cordova-common/src/FileUpdater.js#L289).
But on OSX and Linux this command should work. I guess, that there might be
problem with permissions. [~shawnlan], [~Sujan12], [~cfjedimaster], could you
please run the following command (for OSX) {code:none}pwd && whoami && echo
$TMPDIR{code} and post output here. Does this problem persist if you change
temporary location using the following command? (for OSX) {code:none} export
TMPDIR=/tmp {code}
was (Author: nikita matrosov):
[~shazron] , it seems that `cordova platform check` doesn't work on windows OS
(with any platform) if project isn't on the disk where temporary folder is
located. `updateWww` method is the cause of this problem that try to get
relative path using locations with different drive letters
(https://github.com/apache/cordova-ios/blob/b8ae88d822135a149ff1ea7b6e5feb045a2220eb/bin/templates/scripts/cordova/lib/prepare.js#L148)
and then use it in join method
(https://github.com/apache/cordova-lib/blob/master/cordova-common/src/FileUpdater.js#L289).
But on OSX and Linux this command should work. I guess, that there might be
problem with permissions. [~shawnlan], [~Sujan12], [~cfjedimaster], could you
please run the following command (for OSX) {code:none}pwd && whoami && echo
$TMPDIR{code} and post output here. Does this problem persist if you change
temporary location using the following command? (for OSX) {code:none} export
TMPDIR=/tmp {code}
> cordova platform check working very poorly
> ------------------------------------------
>
> Key: CB-9953
> URL: https://issues.apache.org/jira/browse/CB-9953
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Reporter: Raymond Camden
> Priority: Minor
>
> I've tested cordova platform check now in about 4 different projects and not
> once was it able to tell me that iOS had a version newer than the one I was
> using. For example, I get this:
> ios @ 3.9.1; current did not install, and thus its version cannot be
> determined
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]