Git Product home page Git Product logo

Comments (2)

raywu0123 avatar raywu0123 commented on August 29, 2024

可以麻煩你附上詳細的 error message 嗎
不然也不知道是哪一行噴這個 error

from hack2-qas.

Rookieason avatar Rookieason commented on August 29, 2024

(node:2192) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Topology'
| property 's' -> object with constructor 'Object'
| property 'sessionPool' -> object with constructor 'ServerSessionPool'
--- property 'topology' closes the circle
at JSON.stringify ()
at stringify (C:\Users\user\wp1101\hack2\node_modules\express\lib\response.js:1123:12)
at ServerResponse.json (C:\Users\user\wp1101\hack2\node_modules\express\lib\response.js:260:14)
at ServerResponse.send (C:\Users\user\wp1101\hack2\node_modules\express\lib\response.js:158:21)
at _callee$ (C:\Users\user\wp1101\hack2\server\routes/post.js:38:24)
at tryCatch (C:\Users\user\wp1101\hack2\node_modules\regenerator-runtime\runtime.js:63:40)
at Generator.invoke [as _invoke] (C:\Users\user\wp1101\hack2\node_modules\regenerator-runtime\runtime.js:293:22)
at Generator.next (C:\Users\user\wp1101\hack2\node_modules\regenerator-runtime\runtime.js:118:21)
at asyncGeneratorStep (C:\Users\user\wp1101\hack2\server\routes\post.js:16:103)
at _next (C:\Users\user\wp1101\hack2\server\routes\post.js:18:194)
(Use node --trace-warnings ... to show where the warning was created)
(node:2192) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2192) [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.

from hack2-qas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.