[ https://issues.apache.org/jira/browse/CB-13869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360672#comment-16360672 ]
Jan Piotrowski (Sujan) commented on CB-13869: --------------------------------------------- Possible workaround: Just set these two to the current known max value if none are provided. > /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: Jesse MacFadyen > 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