镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

(node:7596) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Something took too long to do. #13706

Description

@DBlaNQ

Windows 7 64bit

Node.js: 8.1.1v

Error: (node:7596) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Something took too long to do.

Is this a bug cuz i reinstalled the whole node.js and it still doesen't fix

Activity

  1. jasnell commented on Jun 15, 2017

    @jasnell
    Member

    The UnhandledPromiseRejectionWarning is intentional. It occurs when a Promise instance is rejected without having a catch handle attached to it. In this case, some part of the code you are using is not catching the Promise rejection, causing core to emit this warning. To identify which code is causing this to occur, try launching Node.js with the --trace-warnings command line flag. That will cause the stack trace to be printed that identifies which bit of code is causing the warning to be emitted.

    Closing as this is not a bug in Node.js itself.

  2. Fishrock123 commented on Jun 16, 2017

    @Fishrock123
    Contributor

    See also: the 'unhandledRejection' and process 'warning' docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues asking questions about Node.js.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions