世界上最伟大的投资就是投资自己的教育

全场限时 5 折

鲲鹏


id 9875


鲲鹏 6 hours 38 minutes 17 seconds 舵主 研究生


  • Umi v3 & Ant Design Pro v5 从零开始实战视频教程 #07 准备好后端服务器

    $ yarn start --unhandled-rejections=strict --trace-warnings
    yarn run v1.22.10
    $ ts-node-dev --respawn src/index.ts --unhandled-rejections=strict --trace-warnings
    Using ts-node version 8.4.1, typescript version 3.6.4
    (node:41061) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
    (Use node --trace-warnings ... to show where the warning was created)
    (node:41061) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
    (node:41061) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
    (node:41061) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
    (node:41061) DeprecationWarning: Mongoose: the isAsync option for custom validators is deprecated. Make your async validators return a promise instead: https://mongoosejs.com/docs/validation.html#async-custom-validators
    (node:41061) UnhandledPromiseRejectionWarning: MongoTimeoutError: Server selection timed out after 30000 ms
    at Timeout. (/Users/zhouyi/Documents/ProjectCode/demo/umi-ant-design-pro-server1/server/node_modules/mongodb/lib/core/sdam/topology.js:878:9)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
    (node:41061) 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:41061) [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.

    mongodb 启动时报错了

© 汕尾市求知科技有限公司 | Rails365 Gitlab | Qiuzhi99 Gitlab | 知乎 | b 站 | 搜索

粤公网安备 44152102000088号粤公网安备 44152102000088号 | 粤ICP备19038915号

Top