brodybits commented on issue #250: [CB-13861] Update TargetPlatformVersion
URL: https://github.com/apache/cordova-windows/pull/250#issuecomment-364767817
 
 
   If I would do `cordova platform add 
https://github.com/apache/cordova-windows` in a new project then do `cordova 
requirements windows` I get the following output:
   
   ```sh
   Requirements check results for windows:
   Windows OS: not installed
   Error: Cannot read property 'os' of undefined
   (node:5776) UnhandledPromiseRejectionWarning: CordovaError: Some of 
requirements check failed
       at 
C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\src\cli.js:414:27
       at _fulfilled 
(C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54)
       at self.promiseDispatch.done 
(C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30)
       at Promise.promise.promiseDispatch 
(C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:749:13)
       at 
C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:557:44
       at flush 
(C:\Users\brodybits\AppData\Local\nvs\node\9.5.0\x64\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:108:17)
       at process._tickCallback (internal/process/next_tick.js:150:11)
   (node:5776) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 
This error originated either by throwing inside of an async function without a 
catch block, or by rejecting a promise which was not handled with .catch(). 
(rejection id: 1)
   (node:5776) [DEP0018] DeprecationWarning: Unhandled promise rejections are 
deprecated. In the future, promise rejections that are not handled will 
terminate the Node.js process with a non-zero exit code.
   ```
   
   Same result if I would do `cordova platform add 
https://github.com/apache/cordova-windows#CB-13861` then `cordova requirements 
windows`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to