Comments (3)
@mingzhi1 已修复问题,产生原因,本项目创建时间较早,之后对依赖升级了一次 typescript 导致报错,之后会修复项目中大多类型警告
from nest-admin.
项目启动了,但是调用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.
@iravmi 加的log4js 报错,解决方式 可以先去掉log4js 相关,等之后的更新
from nest-admin.
Related Issues (20)
- windows登录进去白屏 HOT 3
- nest-redis有新替代方案了 HOT 5
- If ModuleRef is a provider, is it part of the current RedisCoreModule? HOT 2
- 、 HOT 1
- 小bug 配置错别字 HOT 1
- redis报错 HOT 1
- 啥时更新呢?最好把nestjs更新到最新版本 HOT 1
- 该看哪个分支?
- 新增账户绑定角色关系(所有路由全选);用新账户登陆,权限菜单(perm/menu)接口返回数据 为空数组 HOT 3
- nestjs 可以使用 AsyncLocalStorage 来保存http请求用户信息 http请求结束释放掉
- 辛苦作者了,跟了一遍,发现了一些小bug HOT 2
- TypeError: layout is not a function HOT 13
- 登录鉴权,个人觉得用策略模式更好呀 HOT 2
- 定时任务问题
- 文档是否能增加一章部署相关的文档 HOT 3
- 项目bug很多,跑不起来,各个分支上,都一样
- [11:55:08 PM] ERROR failed to load config from /home/roky/Downloads/nest-admin/client/vite.config.ts
- 菜单权限设计问题 HOT 1
- 登陆账号报密码错误
- 运行项目后, 访问地址提示 layout is not a function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nest-admin.