[
https://issues.apache.org/jira/browse/CB-13694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16335901#comment-16335901
]
Jan Piotrowski (Sujan) edited comment on CB-13694 at 1/23/18 3:18 PM:
----------------------------------------------------------------------
I know and understand.
I am trying to find out if this issue is caused by Cordova alone, Node alone,
or a combination of Cordova and Node.
Could you please a) try to uninstall the current Cordova version you are having
without this problem and install Cordova 8.0.0 on that same node version and
report back if you get this problem described in this issue?
Or the other way around: b) Uninstall Cordova 8.0.0 on the node where you got
the problem and install an older one and report back if the problem then goes
away.
was (Author: sujan12):
I know and understand.
I am trying to find out if this issue is caused by Cordova alone, Node alone,
or a combination of Cordova and Node.
Could you please try to uninstall the current Cordova version you are having
without this problem and install Cordova 8.0.0 on that same node version and
report back if you get this problem described in this issue? Or the other way
around: Uninstall Cordova 8.0.0 on the node where you got the problem and
install an older one and report back if the problem then goes away.
> UnhandledPromiseRejectionWarning when throwing errors
> -----------------------------------------------------
>
> Key: CB-13694
> URL: https://issues.apache.org/jira/browse/CB-13694
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-cli
> Affects Versions: [email protected]
> Environment: Mac OS High Sierra, Node v8.9.1
> Reporter: Vito Macchia
> Priority: Major
>
> Since updating to cordova-cli 8.0.0 (yesterday) I get
> UnhandledPromiseRejectionWarnings instead or error prompts with error stacks,
> which also make difficult to identify bugs/broken deps/missconfigurations.
> Example
> With [email protected]
> {code}
> cordova prepare
> Error: doc.find is not a function
> {code}
> With [email protected]
> {code}
> cordova prepare
> (node:2519) UnhandledPromiseRejectionWarning: Unhandled promise rejection
> (rejection id: 1): TypeError: doc.find is not a function
> (node:2519) [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.
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]