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

Jan Piotrowski (Sujan) commented on CB-13869:
---------------------------------------------

Implemented in CB-13870

> /bin/check_reqs is broken
> -------------------------
>
>                 Key: CB-13869
>                 URL: https://issues.apache.org/jira/browse/CB-13869
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>            Reporter: Jan Piotrowski (Sujan)
>            Assignee: Jan Piotrowski (Sujan)
>            Priority: Major
>
> Running `/bin/check_reqs` gives the following error:
> {code}
> Environment is not supported: TypeError: Cannot read property 'os' of 
> undefined
> {code}
> This happens when `getMinimalRequiredVersionFor` is called without 
> `windowsTargetVersion, windowsPhoneTargetVersion` params. (run -> checkOS 
> (without these two params) -> getMinimalRequiredVersionFor (also no params of 
> course))
> As I understand it this might be the case since 2 years, when these params 
> were added to quite some methods calls - and to be read from config.xml first:
> https://github.com/apache/cordova-windows/commit/acfb01ead6040c6aec39ced31818b8fb96ee6998#diff-f477d7d5a4a7b8cc0bfe70b71a81920fL263
> Unfortunately the pure `run` call wasn't updated - and as it doesn't know 
> anything about the target versions, it can not work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to