cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Matrosov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9953) cordova platform check working very poorly
Date Fri, 31 Mar 2017 12:23:41 GMT

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

Nikita Matrosov commented on CB-9953:
-------------------------------------

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


Mime
View raw message