From issues-return-91465-archive-asf-public=cust-asf.ponee.io@cordova.apache.org Mon Jan 8 22:16:06 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 4EAB2180607 for ; Mon, 8 Jan 2018 22:16:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3EAD8160C3E; Mon, 8 Jan 2018 21:16:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8591A160C29 for ; Mon, 8 Jan 2018 22:16:05 +0100 (CET) Received: (qmail 74607 invoked by uid 500); 8 Jan 2018 21:16:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 74592 invoked by uid 99); 8 Jan 2018 21:16:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2018 21:16:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 253DBC1939 for ; Mon, 8 Jan 2018 21:16:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2Tz2CGhj0RNR for ; Mon, 8 Jan 2018 21:16:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3297D5FB97 for ; Mon, 8 Jan 2018 21:16:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1DA8EE25CB for ; Mon, 8 Jan 2018 21:16:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 66C1A2411A for ; Mon, 8 Jan 2018 21:16:00 +0000 (UTC) Date: Mon, 8 Jan 2018 21:16:00 +0000 (UTC) From: "Sasha Kalmikov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-13740) CLI - "cordova requirements" throws error (UnhandledPromiseRejectionWarning) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-13740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sasha Kalmikov updated CB-13740: -------------------------------- Environment: Windows 10 Node: v7.5.0 NPM: 4.1.2 Cordova CLI: 8.0.0 --- macOS High Sierra 10.13.1 Node: v9.3.0 NPM: 5.6.0 Cordova CLI: 8.0.0 was: Windows 10 Node: v7.5.0 NPM: 4.1.2 Cordova CLI: 8.0.0 --- macOS High Sierra 10.13.1 Node - v9.3.0 NPM - 5.6.0 Cordova CLI- 8.0.0 > CLI - "cordova requirements" throws error (UnhandledPromiseRejectionWarning) > ---------------------------------------------------------------------------- > > Key: CB-13740 > URL: https://issues.apache.org/jira/browse/CB-13740 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-browser, cordova-cli > Environment: Windows 10 > Node: v7.5.0 > NPM: 4.1.2 > Cordova CLI: 8.0.0 > --- > macOS High Sierra 10.13.1 > Node: v9.3.0 > NPM: 5.6.0 > Cordova CLI: 8.0.0 > Reporter: Sasha Kalmikov > > When running "cordova requirements" following error thrown: > *Windows*: > {noformat} > Requirements check results for browser: > (node:5776) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'forEach' of undefined > (node:5776) 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. > {noformat} > *macOS*: > {noformat} > Requirements check results for browser: > (node:72094) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined > at /usr/local/lib/node_modules/cordova/src/cli.js:397:35 > at Array.map () > at /usr/local/lib/node_modules/cordova/src/cli.js:388:68 > at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54) > at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:557:44 > at flush (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:108:17) > at process._tickCallback (internal/process/next_tick.js:150:11) > at Function.Module.runMain (module.js:703:11) > (node:72094) 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:72094) [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. > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org