87789771 / meimei-nestjs-admin

🚀🚀 基于NestJs + TypeScript +Prisma + Redis + MySql + Vue3 + vite + Element-UI编写的一款前后端分离的权限管理系统。🚀内置角色系统、导入导出、数据权限、表单连续提交拦截、前端表格列自定义等...🚀
http://42.192.136.154:3000/#/login?redirect=%2Findex
475 stars 95 forks source link

新版本代码,启动报错, #25

Open runkingzhang opened 11 months ago

runkingzhang commented 11 months ago

这边定时器启动报错,解决了半天没有处理过好 Cannot find type definition file for 'cron'. The file is in the program because: Entry point for implicit type library 'cron 请问再那里修改才可以启动

runkingzhang commented 11 months ago

dist 里面的代码是好的

runkingzhang commented 11 months ago

cnpm install @types/cron --save-dev "typeRoots": ["node_modules/@type"], 解决问题

YangFong commented 7 months ago

同问题,在 package.json 中 移除掉 @types/cron@2.4.0 即可。

参见:https://www.npmjs.com/package/@types/cron

image

87789771 commented 7 months ago

我也没遇到。不过能解决就行。~_~