Coder Social home page Coder Social logo

Comments (3)

wenqiyun avatar wenqiyun commented on June 1, 2024

@mingzhi1 已修复问题,产生原因,本项目创建时间较早,之后对依赖升级了一次 typescript 导致报错,之后会修复项目中大多类型警告

from nest-admin.

iravmi avatar iravmi commented on June 1, 2024

项目启动了,但是调用API时报错。

(node:867) UnhandledPromiseRejectionWarning: TypeError: layout is not a function
at /Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/appenders/console.js:6:16
at /Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/log4js.js:42:5
at Array.forEach ()
at sendLogEventToAppender (/Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/log4js.js:41:21)
at /Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/clustering.js:23:26
at Array.forEach ()
at sendToListeners (/Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/clustering.js:23:13)
at Object.send (/Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/clustering.js:89:7)
at Logger._log (/Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/logger.js:90:16)
at Logger.log (/Users/pitt/nestapp/admin/servers/node_modules/log4js/lib/logger.js:73:12)
(node:867) 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: 8)

from nest-admin.

wenqiyun avatar wenqiyun commented on June 1, 2024

@iravmi 加的log4js 报错,解决方式 可以先去掉log4js 相关,等之后的更新

from nest-admin.

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.